Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
814b7cf
Replace `jemalloc` bootstrap options with `override-allocator`
Zoxc Apr 21, 2026
de8562e
Auto merge of #159344 - Urgau:canonical-symbols, r=mejrs
bors Jul 20, 2026
06cd2ee
Auto merge of #159440 - LorrensP-2158466:inplace-import-res, r=petroc…
bors Jul 21, 2026
fa6b084
Rollup merge of #155617 - Zoxc:allocator-feature-rename, r=Mark-Simul…
JonathanBrouwer Jul 21, 2026
4825e26
Rollup merge of #156225 - sorairolake:improve-try-from-int-error-desc…
JonathanBrouwer Jul 21, 2026
8bd4cb5
Rollup merge of #159058 - khyperia:macroless_generic_const_args, r=Bo…
JonathanBrouwer Jul 21, 2026
ddfa8a9
Rollup merge of #159435 - joboet:rng_ref, r=dtolnay
JonathanBrouwer Jul 21, 2026
9bd73f5
Rollup merge of #159471 - kpreid:constalloc, r=clarfonthey
JonathanBrouwer Jul 21, 2026
e48f3b5
Rollup merge of #159590 - oli-obk:unsafe_attrs_old, r=petrochenkov
JonathanBrouwer Jul 21, 2026
212f2d8
Rollup merge of #159636 - nnethercote:some-comments, r=petrochenkov
JonathanBrouwer Jul 21, 2026
d768868
Auto merge of #159650 - JonathanBrouwer:rollup-TtscBAE, r=JonathanBro…
bors Jul 21, 2026
8b81bbf
Auto merge of #154989 - Jamesbarford:chore/move-region-to-ir, r=lcnr
bors Jul 21, 2026
8bcd05c
Auto merge of #159658 - jieyouxu:rustfmt-subtree-update, r=ytmimi
bors Jul 21, 2026
ccd5318
Auto merge of #159609 - nikic:opt-escape, r=folkertdev
bors Jul 22, 2026
2ffe5a6
Auto merge of #159623 - camelid:good-impls, r=notriddle,GuillaumeGomez
bors Jul 22, 2026
4a65ad4
Auto merge of #143208 - Mark-Simulacrum:skip-noop-cleanup, r=oli-obk
bors Jul 22, 2026
b7a3663
Auto merge of #157797 - glandium:uninit, r=oli-obk
bors Jul 22, 2026
8d3fee6
Prepare for merging from rust-lang/rust
invalid-email-address Jul 23, 2026
619ae89
Merge ref '390279b302ca' from rust-lang/rust
invalid-email-address Jul 23, 2026
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
2 changes: 1 addition & 1 deletion rust-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
9e71b3bc704eea68d39bd0f6a46703c7d22f5d3b
390279b302ca98ae270f434100ae3730531d1246
4 changes: 2 additions & 2 deletions src/building/optimized-build.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ Enabling LTO on Linux has [produced] speed-ups by up to 10%.
## Memory allocator

Using a different memory allocator for `rustc` can provide significant performance benefits.
If you want to enable the `jemalloc` allocator, you can set the `rust.jemalloc` option to `true`
If you want to enable the `jemalloc` allocator, you can set the `rust.override-allocator` option to `jemalloc`
in `bootstrap.toml`:

```toml
rust.jemalloc = true
rust.override-allocator = "jemalloc"
```

> Note that this option is currently only supported for Linux and macOS targets.
Expand Down
2 changes: 1 addition & 1 deletion src/profiling/with-perf.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ This is a guide for how to profile rustc with [perf](https://perf.wiki.kernel.or
- Get a clean checkout of rust-lang/rust
- Set the following settings in your `bootstrap.toml`:
- `rust.debuginfo-level = 1` - enables line debuginfo
- `rust.jemalloc = false` - lets you do memory use profiling with valgrind
- leave `rust.override-allocator` unset - lets you do memory use profiling with valgrind
- leave everything else the defaults
- Run `./x build` to get a full build
- Make a rustup toolchain pointing to that result
Expand Down
Loading