Skip to content

Commit a1c3357

Browse files
author
Shaobo
authored
Removed unnecessary compiler selection in build.rs
It shouldn't matter what the C compiler that the `cc` crate uses. So, I removed this function call such that we don't see cargo build failure in an environment such as our Docker image, where `clang` is not in the path.
1 parent f2d55f3 commit a1c3357

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

share/smack/lib/smack/build.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ fn main() {
55
.file("src/smack-rust.c")
66
.define("CARGO_BUILD", None)
77
.include("src")
8-
.compiler("clang")
98
.compile("libsmack.a");
109
println!("cargo:rerun-if-changed=src/smack-rust.c");
1110
}

0 commit comments

Comments
 (0)