I think there may still be bugs preventing its removal..
// if the user has disabled jemalloc in `./configure`).
// `force_alloc_system` is *only* intended as a workaround for local rebuilds
// with a rustc without jemalloc.
// if the user has disabled jemalloc in `./configure`).
// `force_alloc_system` is *only* intended as a workaround for local rebuilds
// with a rustc without jemalloc.
-#![cfg_attr(any(stage0, feature = "force_alloc_system"),
+// FIXME(#44236) shouldn't need MSVC logic
+#![cfg_attr(all(not(target_env = "msvc"),
+ any(stage0, feature = "force_alloc_system")),
feature(global_allocator))]
feature(global_allocator))]
-#[cfg(any(stage0, feature = "force_alloc_system"))]
+#[cfg(all(not(target_env = "msvc"),
+ any(stage0, feature = "force_alloc_system")))]
#[global_allocator]
static ALLOC: alloc_system::System = alloc_system::System;
#[global_allocator]
static ALLOC: alloc_system::System = alloc_system::System;
"src/rtstartup", // Not sure what to do about this. magic stuff for mingw
// temporary exceptions
"src/rtstartup", // Not sure what to do about this. magic stuff for mingw
// temporary exceptions
+ "src/libstd/lib.rs", // FIXME(#44217)
"src/libstd/path.rs",
"src/libstd/f32.rs",
"src/libstd/f64.rs",
"src/libstd/path.rs",
"src/libstd/f32.rs",
"src/libstd/f64.rs",