Browse Source

Fix c feature

master
pca006132 10 months ago
parent
commit
1d50ac9052
  1. 2
      Cargo.toml
  2. 2
      build.rs

2
Cargo.toml

@ -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 = []

2
build.rs

@ -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));

Loading…
Cancel
Save