Remove the undocumented and unused rustbuild feature

See
<https://github.com/rust-lang/compiler-builtins/pull/603#discussion_r1590747361>
This commit is contained in:
Trevor Gross 2024-05-06 04:26:49 -05:00 committed by Amanieu d'Antras
parent 54d96150b5
commit f52b4a268f

View file

@ -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"