Skip to content

Commit

Permalink
Remove the undocumented and unused rustbuild feature
Browse files Browse the repository at this point in the history
  • Loading branch information
tgross35 authored and Amanieu committed May 11, 2024
1 parent 34a2c12 commit df57940
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -375,15 +375,6 @@ mod c {
]);
}

// When compiling in rustbuild (the rust-lang/rust repo) this library
// also needs to satisfy intrinsics that jemalloc or C in general may
// need, so include a few more that aren't typically needed by
// LLVM/Rust.
#[allow(unexpected_cfgs)]
if cfg!(feature = "rustbuild") {
sources.extend(&[("__ffsdi2", "ffsdi2.c")]);
}

// On iOS and 32-bit OSX these are all just empty intrinsics, no need to
// include them.
if target_os != "ios"
Expand Down

0 comments on commit df57940

Please sign in to comment.