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 committed May 6, 2024
1 parent 9c5d706 commit cc6d887
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 cc6d887

Please sign in to comment.