Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
7f31b57
Replace the random substring of a linker argument with a placeholder …
xingxue-ibm Jan 6, 2025
fc32dd4
llvm: Ignore error value that is always false
maurer Jan 7, 2025
ad5f912
Transmute from NonNull to pointer when elaborating a box deref (MCP807)
scottmcm Nov 15, 2024
53a5857
bootstrap: Build jemalloc for AArch64 with support for 64K pages
mrkajetanp Jan 3, 2025
614dc1c
apply a workaround fix for the release blocker issue
onur-ozkan Jan 7, 2025
7012328
Remove workaround from pull request template
Urgau Jan 7, 2025
b0324cc
don't bless `proc_macro_deps.rs` unless it's necessary
onur-ozkan Jan 7, 2025
7cc99a8
Eliminate an unnecessary `Symbol::to_string`; use `as_str`
joshtriplett Jan 7, 2025
bb6bbfa
Avoid naming variables `str`
joshtriplett Jan 7, 2025
2b97db2
Rollup merge of #135081 - mrkajetanp:jemalloc-64k, r=Kobzol
GuillaumeGomez Jan 7, 2025
2338e57
Rollup merge of #135174 - xingxue-ibm:reproducible-build-aix, r=jieyouxu
GuillaumeGomez Jan 7, 2025
020d875
Rollup merge of #135177 - maurer:rename-module, r=nikic
GuillaumeGomez Jan 7, 2025
a33da79
Rollup merge of #135182 - scottmcm:box-deref-via-transmute, r=oli-obk
GuillaumeGomez Jan 7, 2025
2598d60
Rollup merge of #135187 - onur-ozkan:release-fix, r=pietroalbini
GuillaumeGomez Jan 7, 2025
ebf2e51
Rollup merge of #135189 - Urgau:triagebot-html-ignored, r=lqd
GuillaumeGomez Jan 7, 2025
ccaa0f3
Rollup merge of #135193 - onur-ozkan:tidy-cache-invalidation, r=jieyouxu
GuillaumeGomez Jan 7, 2025
ec26620
Rollup merge of #135198 - joshtriplett:str-is-a-type, r=jieyouxu
GuillaumeGomez Jan 7, 2025
225ffeb
Rollup merge of #135199 - joshtriplett:unnecessary-to-string, r=lqd
GuillaumeGomez Jan 7, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
bootstrap: Build jemalloc for AArch64 with support for 64K pages
By default, jemalloc is built to only support the same page size as the
host machine. For AArch64 targets, set an env variable so that jemalloc
is built with support for page sizes up to 64K regardless of the host machine.
  • Loading branch information
mrkajetanp committed Jan 7, 2025
commit 53a5857fa3daf29e4b1961564af6708601581cec
9 changes: 9 additions & 0 deletions src/bootstrap/src/core/build_steps/compile.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1207,6 +1207,15 @@ pub fn rustc_cargo_env(
rustc_llvm_env(builder, cargo, target)
}
}

// Build jemalloc on AArch64 with support for page sizes up to 64K
// See: https://github.com/rust-lang/rust/pull/135081
if builder.config.jemalloc
&& target.starts_with("aarch64")
&& env::var_os("JEMALLOC_SYS_WITH_LG_PAGE").is_none()
{
cargo.env("JEMALLOC_SYS_WITH_LG_PAGE", "16");
}
}

/// Pass down configuration from the LLVM build into the build of
Expand Down
Loading