Commit Graph

29 Commits

Author SHA1 Message Date
sslime336 50dbcba002 Change `x.py` into `x`, add explanation for `x` 2023-06-30 23:11:14 +02:00
sslime336 d3034ae828 Change `./x.py` into `./x` 2023-06-30 23:11:14 +02:00
Yuki Okushi d8c298da43 Update explnation about benchmarks
Signed-off-by: Yuki Okushi <jtitor@2k36.org>
2023-02-03 06:23:25 +02:00
Joshua Nelson f92263e45b 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 0fc1fa9f1e Spelling fixes 2021-11-15 08:23:01 -06:00
Janggun Lee ddaebd85aa
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 91f8f334f4
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 320df682bd
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 0daa3f7053
Fix typo (#678) 2020-04-19 17:54:45 +02:00
Santiago Pastorino 27269235d3
Update some projects locations (#658) 2020-04-02 18:40:15 +02:00
Santiago Pastorino 769826dffc use-jemalloc -> jemalloc 2020-03-17 12:16:02 -05:00
Hanif Bin Ariffin d373bca885 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 16d731801a fix links 2019-11-05 21:45:49 -06:00
Eduard-Mihai Burtescu f675e36941 Update for TyCtxt<'a, 'gcx, 'tcx> -> TyCtxt<'tcx>. 2019-06-15 16:58:30 -05:00
Vadim Petrochenkov 3ac9cfc9c9 Update information about debuginfo configuration 2019-06-02 19:36:58 -05:00
Mark Mansi d36f89182d fix the last link 2018-09-21 15:54:25 -05:00
Niko Matsakis f72ba710ab fix various bash snippets 2018-09-10 19:25:29 -05:00
Niko Matsakis 5665ed6a7a links are always relative to root or what? 2018-09-10 19:25:29 -05:00
Niko Matsakis 694a90c19d fix link 2018-09-10 19:25:29 -05:00
Niko Matsakis fcbd9b907e add a note about the collector executable 2018-09-10 19:25:29 -05:00
Niko Matsakis 85ed2e32de update with njn's insight 2018-09-10 19:25:29 -05:00
Niko Matsakis 9a463df833 don't write `rust-prof` bur rather `<toolchain> 2018-09-10 19:25:29 -05:00
Niko Matsakis 37aa15e93f link to build-and-run, fix em-dash 2018-09-10 19:25:29 -05:00
Niko Matsakis cdc688451e say function, not fn 2018-09-10 19:25:29 -05:00
Niko Matsakis fb59bf5383 be consistent about bash snippets 2018-09-10 19:25:29 -05:00
Niko Matsakis 4e5ab2ac25 fix long lines 2018-09-10 19:25:29 -05:00
Niko Matsakis f1e087db37 switch to em-dash 2018-09-10 19:25:29 -05:00
Niko Matsakis 5571290aac various nits from mark-i-m 2018-09-10 19:25:29 -05:00
Niko Matsakis 44c05c72be add a section about profiling with perf 2018-09-10 19:25:29 -05:00