Skip to content
Closed
Show file tree
Hide file tree
Changes from 2 commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
f6bdffd
Add Ref/RefMut try_map method
GrigorenkoPV Nov 19, 2023
9c0cfd2
Fix description of unsigned `checked_exact_div`
tautschnig Aug 5, 2025
bc14ad3
strip prefix of temporary file names when it exceeds filesystem name …
tardyp Aug 6, 2025
38df158
cfg_select: Support unbraced expressions
joshtriplett Aug 10, 2025
ebcbcc8
bootstrap: Fix jemalloc 64K page support for aarch64 tools
CathalMullan Aug 13, 2025
ab3717b
rough solution
karolzwolak Apr 28, 2025
9e387a1
simplify the note message
karolzwolak Apr 28, 2025
8bd3a48
bless the tests
karolzwolak Apr 28, 2025
c036255
manually fix rest of the tests
karolzwolak Apr 29, 2025
4e96b2a
add test
karolzwolak Apr 29, 2025
c812af9
don't show the group name for external lints
karolzwolak May 7, 2025
f229895
bless clippy tests
karolzwolak May 7, 2025
d72a98f
add comments and LintGroup struct for more clarity
karolzwolak May 7, 2025
bdff809
fix typo in test
karolzwolak May 9, 2025
002ac81
link rustc_lint module in a comment
karolzwolak May 9, 2025
f39cd04
closure instead of nested fn, remove allow_external arg, and use .find()
karolzwolak May 30, 2025
fe5cec7
add additional example in the error to showcase the behavior
karolzwolak May 30, 2025
4a381ff
rename LintStoreMarker trait to DynLintStore
karolzwolak Jun 1, 2025
c054b48
Revert "link rustc_lint module in a comment"
karolzwolak Jun 1, 2025
d10a8a3
bootstrap: Support passing `--timings` to cargo
joshtriplett Aug 14, 2025
3ecea53
bootstrap: Update completions for new --timings argument
joshtriplett Aug 14, 2025
0241292
take attr style into account in diagnostics
jdonszelmann Aug 11, 2025
18fd6ea
Revert "Correctly handle when there are no unstable items in the docu…
GuillaumeGomez Aug 14, 2025
1975b06
Revert "rustdoc search: add performance note about searchIndexUnstabl…
GuillaumeGomez Aug 14, 2025
2820fcc
Revert "rustdoc: IndexItem::{stability -> is_unstable}"
GuillaumeGomez Aug 14, 2025
a195cf6
Revert "rustdoc search: prefer stable items in search results"
GuillaumeGomez Aug 14, 2025
ad2d090
Rollup merge of #118087 - GrigorenkoPV:refcell_try_map, r=Mark-Simula…
GuillaumeGomez Aug 14, 2025
f22892b
Rollup merge of #140794 - karolzwolak:allow-unused-doc-65464, r=david…
GuillaumeGomez Aug 14, 2025
bfadbe4
Rollup merge of #144947 - tautschnig:remove-stray-checked_div-comment…
GuillaumeGomez Aug 14, 2025
211dd93
Rollup merge of #145005 - tardyp:lto_big_filesize, r=bjorn3
GuillaumeGomez Aug 14, 2025
3c309b0
Rollup merge of #145233 - joshtriplett:cfg-select-expr, r=jieyouxu
GuillaumeGomez Aug 14, 2025
adedc2b
Rollup merge of #145243 - jdonszelmann:inner-attr-errors, r=petrochenkov
GuillaumeGomez Aug 14, 2025
09662f2
Rollup merge of #145353 - CathalMullan:jemalloc-tools, r=Kobzol
GuillaumeGomez Aug 14, 2025
f95a0e4
Rollup merge of #145379 - joshtriplett:bootstrap-timings, r=jieyouxu
GuillaumeGomez Aug 14, 2025
d105953
Rollup merge of #145389 - GuillaumeGomez:unstable-search, r=fmease
GuillaumeGomez Aug 14, 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
1 change: 1 addition & 0 deletions src/bootstrap/src/core/build_steps/compile.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1397,6 +1397,7 @@ pub fn rustc_cargo_env(builder: &Builder<'_>, cargo: &mut Cargo, target: TargetS

// Build jemalloc on AArch64 with support for page sizes up to 64K
// See: https://github.com/rust-lang/rust/pull/135081
// See also the "JEMALLOC_SYS_WITH_LG_PAGE" setting in the tool build step.
if builder.config.jemalloc(target)
&& target.starts_with("aarch64")
&& env::var_os("JEMALLOC_SYS_WITH_LG_PAGE").is_none()
Expand Down
8 changes: 8 additions & 0 deletions src/bootstrap/src/core/build_steps/tool.rs
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,14 @@ pub fn prepare_tool_cargo(
// own copy
cargo.env("LZMA_API_STATIC", "1");

// Build jemalloc on AArch64 with support for page sizes up to 64K
// See: https://github.com/rust-lang/rust/pull/135081
// Note that `miri` always uses jemalloc. As such, there is no checking of the jemalloc build flag.
// See also the "JEMALLOC_SYS_WITH_LG_PAGE" setting in the compile build step.
if target.starts_with("aarch64") && env::var_os("JEMALLOC_SYS_WITH_LG_PAGE").is_none() {
cargo.env("JEMALLOC_SYS_WITH_LG_PAGE", "16");
}

// CFG_RELEASE is needed by rustfmt (and possibly other tools) which
// import rustc-ap-rustc_attr which requires this to be set for the
// `#[cfg(version(...))]` attribute.
Expand Down