소스 검색

Don't force the "mem" feature for -none targets.

WHY ON EARTH WOULD COMPILER-BUILTINS FORCE MEMSET/MEMCMP/MEMMOVE/MEMCPY
TO BE IMLPEMENTED FOR ALL KERNEL TARGETS, AND BEING IMPOSSIBLE TO OPT
OUT OF WITHOUT PATCHING RUSTC?
4lDO2 4 년 전
부모
커밋
6a064dc6d3
1개의 변경된 파일0개의 추가작업 그리고 1개의 파일을 삭제
  1. 0 1
      build.rs

+ 0 - 1
build.rs

@@ -27,7 +27,6 @@ fn main() {
     // provide them.
     if (target.contains("wasm32") && !target.contains("wasi"))
         || (target.contains("sgx") && target.contains("fortanix"))
-        || target.contains("-none")
         || target.contains("nvptx")
     {
         println!("cargo:rustc-cfg=feature=\"mem\"");