Commit Graph

35 Commits

Author SHA1 Message Date
bit-aloo e4ddc21c8a
replace config.toml to bootstrap.toml in src:doc:rustc-dev-guide 2025-03-17 12:56:44 +05:30
yukang b353b6e10a add notes for perf issue 2025-02-14 13:49:02 +08:00
Jakub Beránek 0238431e20 Update rustc-dev-guide 2025-02-05 15:33:40 +01:00
Ryan Mehri 421c7282e1 Fix some typos 2024-12-18 07:56:30 +02:00
Jakub Beránek e4eded33df Document `bootstrap` integration with `rustc-perf` (#2005) 2024-10-07 16:28:06 +08:00
İsmail Arılık 3e926f097e refactor(profiling/with_perf): remove a wrong to be verb 2023-07-19 16:54:57 +02:00
sslime336 e2487ebdc4 Change `x.py` into `x`, add explanation for `x` 2023-06-30 23:11:14 +02:00
sslime336 a04ad82e3c Change `./x.py` into `./x` 2023-06-30 23:11:14 +02:00
Yuki Okushi f663d1aa06 Update explnation about benchmarks
Signed-off-by: Yuki Okushi <jtitor@2k36.org>
2023-02-03 06:23:25 +02:00
Joshua Nelson d7ead280b4 Update the build instructions for the standard library
Since https://github.com/rust-lang/rust/pull/95503, `library/std` means
"build just std and its dependencies"; to get the old behavior that built
`proc_macro` and `test`, you need `x build library`.

- Update `library/std` to `library`
- Remove the `-i` suggestions; `incremental = true` is already the default for most profiles, in
  which case `-i` does nothing. If you don't have incremental enabled, I still think suggesting `-i`
  is bad idea, because it's easy to forget once, at which point you'll end up rebuilding the whole
  compiler / standard library.
- Remove a few repetitive sections and don't discuss incremental in such detail
  Incremental works well enough that it should "just work" for most people;
  I don't think it needs multiple paragraphs of explanation so early in the guide.
- Clarify that `test library/std` *only* tests libstd in a few places
2022-07-11 07:22:24 +02:00
Lucas Kent 363f6ce09c Spelling fixes 2021-11-15 08:23:01 -06:00
Janggun Lee d03c7b8626 Fix `rustc_mir` related links (#1228)
Co-authored-by: Yuki Okushi <jtitor@2k36.org>
Co-authored-by: nhamovitz <18648574+nhamovitz@users.noreply.github.com>
2021-10-29 00:58:26 +09:00
Wesley Wiser 4ddb696206 Add article on using WPA to profile rustc memory usage on Windows (#1074)
Document how to use WPA to profile rustc and what the normal workflow
should be for investigating bootstrap memory usage issues.

Co-authored-by: Ryan Levick <ryan.levick@gmail.com>
2021-03-09 04:42:56 +09:00
Iñaki Garay 7268945c0f rustc invocation standarized (#992)
* rustc invocation standarized

* Addressed comments

* Addressed comments

* Addressed comments

* Updated command output
2020-12-28 23:34:51 +01:00
Santiago Pastorino 9cf06ca801 Fix typo (#678) 2020-04-19 17:54:45 +02:00
Santiago Pastorino 0a31a71b7d Update some projects locations (#658) 2020-04-02 18:40:15 +02:00
Santiago Pastorino 41acd4400a use-jemalloc -> jemalloc 2020-03-17 12:16:02 -05:00
Hanif Bin Ariffin 5306b68e05 Couple of changes to code so that its safe
Specifically, `> $1` causes it to write into the file $1 if it exist
And `> ./x.py` is particularly bad because it overwrite the script with
empty spaces...
2019-11-26 17:18:04 -06:00
Mark Mansi 6fee93dc25 fix links 2019-11-05 21:45:49 -06:00
Eduard-Mihai Burtescu 2309adfd9d Update for TyCtxt<'a, 'gcx, 'tcx> -> TyCtxt<'tcx>. 2019-06-15 16:58:30 -05:00
Vadim Petrochenkov 3510bdcba1 Update information about debuginfo configuration 2019-06-02 19:36:58 -05:00
Mark Mansi 254e3c73d1 fix the last link 2018-09-21 15:54:25 -05:00
Niko Matsakis e0507c7bcb fix various bash snippets 2018-09-10 19:25:29 -05:00
Niko Matsakis b63805f74e links are always relative to root or what? 2018-09-10 19:25:29 -05:00
Niko Matsakis a08685d645 fix link 2018-09-10 19:25:29 -05:00
Niko Matsakis 325022270a add a note about the collector executable 2018-09-10 19:25:29 -05:00
Niko Matsakis a42c5d4556 update with njn's insight 2018-09-10 19:25:29 -05:00
Niko Matsakis 3d17ee3105 don't write `rust-prof` bur rather `<toolchain> 2018-09-10 19:25:29 -05:00
Niko Matsakis bb8f906b5d link to build-and-run, fix em-dash 2018-09-10 19:25:29 -05:00
Niko Matsakis 8259f84d51 say function, not fn 2018-09-10 19:25:29 -05:00
Niko Matsakis 54177e24e3 be consistent about bash snippets 2018-09-10 19:25:29 -05:00
Niko Matsakis 02cafc9b6c fix long lines 2018-09-10 19:25:29 -05:00
Niko Matsakis 32d9134202 switch to em-dash 2018-09-10 19:25:29 -05:00
Niko Matsakis 860e34b13a various nits from mark-i-m 2018-09-10 19:25:29 -05:00
Niko Matsakis 9ecda8c863 add a section about profiling with perf 2018-09-10 19:25:29 -05:00