Fix c feature

pca006132 2020-08-25 13:48:32 +08:00
parent 64a6e36377
commit b850e66c09
2 changed files with 2 additions and 2 deletions

View File

@ -42,7 +42,7 @@ default = ["compiler-builtins"]
# Enable compilation of C code in compiler-rt, filling in some more optimized
# implementations and also filling in unimplemented intrinsics
# c = ["cc"]
c = []
# Flag this library as the unstable compiler-builtins lib
compiler-builtins = []

View File

@ -91,7 +91,7 @@ fn compile_memcpy() {
"memcpy.S",
];
let root = Path::new("./asm");
let root = Path::new("asm");
for src in sources {
println!("cargo:rerun-if-changed={}", src);
cfg.file(root.join(src));