We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c871d09 commit 3a91d34Copy full SHA for 3a91d34
src/bootstrap/src/core/build_steps/tool.rs
@@ -228,9 +228,8 @@ pub fn prepare_tool_cargo(
228
// own copy
229
cargo.env("LZMA_API_STATIC", "1");
230
231
- // Note that `miri` always uses jemalloc. As such, there is no checking of the jemalloc build flag.
232
// See also the "JEMALLOC_SYS_WITH_LG_PAGE" setting in the compile build step.
233
- if env::var_os("JEMALLOC_SYS_WITH_LG_PAGE").is_none() {
+ if builder.config.jemalloc(target) && env::var_os("JEMALLOC_SYS_WITH_LG_PAGE").is_none() {
234
// Build jemalloc on AArch64 with support for page sizes up to 64K
235
// See: https://github.com/rust-lang/rust/pull/135081
236
if target.starts_with("aarch64") {
0 commit comments