From 1d50ac9052409c2912c947a832c108c38c20e088 Mon Sep 17 00:00:00 2001 From: pca006132 Date: Tue, 25 Aug 2020 13:48:32 +0800 Subject: [PATCH] Fix c feature --- Cargo.toml | 2 +- build.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 5a9f53a..186d0b0 100644 --- a/Cargo.toml +++ b/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 = [] diff --git a/build.rs b/build.rs index e7c3d49..e1ce76a 100644 --- a/build.rs +++ b/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));