From 243b0e11719ad265c20f0e90847c7f049ea0fa57 Mon Sep 17 00:00:00 2001 From: Trevor Gross Date: Mon, 6 May 2024 04:26:49 -0500 Subject: [PATCH] Remove the undocumented and unused `rustbuild` feature See --- build.rs | 9 --------- 1 file changed, 9 deletions(-) diff --git a/build.rs b/build.rs index 67c7d774..97a841d5 100644 --- a/build.rs +++ b/build.rs @@ -373,15 +373,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"