about summary refs log tree commit diff
path: root/compiler/rustc/src
AgeCommit message (Collapse)AuthorLines
2023-03-11fix linkjyn-1/+1
Co-authored-by: Rémy Rakic <remy.rakic+github@gmail.com>
2023-03-11Expand on the allocator comment in `rustc-main`Joshua Nelson-0/+9
Before, it said "global_allocator does nothing". Now it gives you suggestions for what to do if you want to change the global allocator (which is likely the main reason you'd be reading the comment).
2022-10-02rustc: Use `unix_sigpipe` instead of `rustc_driver::set_sigpipe_handler`Martin Nordholts-1/+3
This is the first (known) step towards starting to use `unix_sigpipe` in the wild. Eventually, `rustc_driver::set_sigpipe_handler` can be removed and all clients can use `unix_sigpipe` instead. For now we just start using `unix_sigpipe` in once place: `rustc` itself. It is easy to manually verify this change. If you remove `#[unix_sigpipe = "sig_dfl"]` and run `./x.py build` you will get an ICE when you do `./build/x86_64-unknown-linux-gnu/stage1/bin/rustc --help | false`. Add back `#[unix_sigpipe = "sig_dfl"]` and the ICE disappears again.
2022-05-25update jemalloc-sys to jemalloc v5.3Rémy Rakic-3/+1
2021-12-23Remove useless `#[global_allocator]` from rustc and rustdoc.Nicholas Nethercote-17/+24
This was added in #83152, which has several errors in its comments. This commit also fix up the comments, which are quite wrong and misleading.
2021-04-04use jemallocator in rustc/rustdocGus Wynn-1/+14
2021-03-08Rollup merge of #82642 - sfackler:jemalloc-zone, r=pnkfelixDylan DPC-0/+14
Fix jemalloc usage on OSX Closes #82423
2021-03-06Fix typoHenry Boisdequin-1/+1
we need to actually -> we actually need to @rustbot label +C-cleanup
2021-03-05Update compiler/rustc/src/main.rsSteven Fackler-1/+1
2021-02-28Fix jemalloc usage on OSXSteven Fackler-0/+14
Closes #82423
2020-08-30mv compiler to compiler/mark-0/+31