Fix c feature

This commit is contained in:
pca006132 2020-08-25 13:48:32 +08:00
parent c21d3aeec3
commit 1d50ac9052
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 # Enable compilation of C code in compiler-rt, filling in some more optimized
# implementations and also filling in unimplemented intrinsics # implementations and also filling in unimplemented intrinsics
# c = ["cc"] c = []
# Flag this library as the unstable compiler-builtins lib # Flag this library as the unstable compiler-builtins lib
compiler-builtins = [] compiler-builtins = []

View File

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