Skip to content

Commit

Permalink
Update build.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
DouglasDwyer committed Oct 22, 2023
1 parent bce2b45 commit 0fe9729
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
fn main() {
if std::env::var("CARGO_CFG_FUZZING").is_ok() && std::env::var("CARGO_CFG_TARGET_OS").as_deref() == Ok("macos") {
if std::env::var("CARGO_CFG_FUZZING").is_ok()
&& std::env::var("CARGO_CFG_TARGET_OS").as_deref() == Ok("macos")
{
println!("cargo:rustc-cdylib-link-arg=-undefined");
println!("cargo:rustc-cdylib-link-arg=dynamic_lookup");
}
Expand Down

0 comments on commit 0fe9729

Please sign in to comment.