Skip to content

Commit

Permalink
Removed unnecessary compiler selection in build.rs
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Shaobo authored Feb 16, 2022
1 parent f2d55f3 commit a1c3357
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion share/smack/lib/smack/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ fn main() {
.file("src/smack-rust.c")
.define("CARGO_BUILD", None)
.include("src")
.compiler("clang")
.compile("libsmack.a");
println!("cargo:rerun-if-changed=src/smack-rust.c");
}
Expand Down

0 comments on commit a1c3357

Please sign in to comment.