Fix c feature
This commit is contained in:
parent
c21d3aeec3
commit
1d50ac9052
|
@ -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 = []
|
||||||
|
|
2
build.rs
2
build.rs
|
@ -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));
|
||||||
|
|
Loading…
Reference in New Issue