Nicholas Nethercote
299077b6c3
Improve `borrowck_graphviz_*` documentation.
...
In particular, `borrowck_graphviz_preflow` no longer exists.
2025-04-16 08:57:15 +10:00
bit-aloo
e4ddc21c8a
replace config.toml to bootstrap.toml in src:doc:rustc-dev-guide
2025-03-17 12:56:44 +05:30
Martin Liska
362246d1a8
Fix borked link
2025-02-14 07:23:10 +01:00
Michael Goulet
0cd4069ee4
Rework rustc_dump_vtable
2025-01-30 15:30:04 +00:00
León Orell Valerian Liehr
53514829de
fixups ( #2082 )
2024-10-03 10:54:50 +08:00
León Orell Valerian Liehr
27bca443ca
Explain the internal `#[rustc_*]` TEST attributes used for debugging and inside tests ( #2046 )
2024-08-24 01:58:50 +08:00
许杰友 Jieyou Xu (Joe)
38b6a5cf3e
docs: mention RUSTC_ICE=0 to suppress ICE file
2024-06-18 19:24:17 +01:00
Yutaro Ohno
cbd09807b0
Rename `-Z verbose` to `-Z verbose-internals`
...
The `-Z verbose` option has been renamed to `-Z verbose-internals` in
commit b5d83619 [1] (PR #119129 [2]). This commit updates the remaining
`-Z verbose` to `-Z verbose-internals`.
[1]: b5d8361909
[2]: https://github.com/rust-lang/rust/pull/119129
2024-04-30 10:15:49 +02:00
Nicholas Nethercote
164f24ff6d
Some updates for recent diagnostics changes.
2024-02-10 04:48:19 +02:00
Gurinder Singh
c540dbae9b
Rename occurrences of 'delay_span_bug' to 'span_delayed_bug'
...
since this method has been renamed in rustc.
Also remove a link to documentation in error-guaranteed.md because it was unused
2024-02-08 20:16:06 +02:00
Zalathar
7650a97c11
Remove outdated references to `-Z dump-mir-spanview`
...
This flag was removed by <https://github.com/rust-lang/rust/pull/119566 >.
2024-01-16 10:28:45 +02:00
Eric Huss
0cb6011623
Update some links and information for cargo-bisect-rustc ( #1657 )
2023-04-02 15:15:55 +09:00
Thom Chiovoloni
31991ba0cb
Rename `config.toml.example` to `config.example.toml`
2023-03-13 04:42:00 +02:00
Tshepang Mbambo
4ccbe9182c
make use of the symlink, to ease things ( #1608 )
2023-02-17 14:37:01 -06:00
Tshepang Mbambo
19f6cc82a5
remove stray text ( #1604 )
2023-02-16 19:33:05 -08:00
AE1020
1827e0c1b3
Add sample CodeLLDB launch.json ( #1482 )
...
* Add sample CodeLLDB launch.json
There is a section with [instructions for setting up source analyzer in VSCode](https://rustc-dev-guide.rust-lang.org/building/suggested.html#configuring-rust-analyzer-for-rustc ), but
nothing for setting up debugging with CodeLLDB. This adds a sample configuration
that may not be ideal, but appears to work for me.
To source highlight the snippet, uses JavaScript instead of JSON so that comments
do not show up as errors highlighted in red (VSCode allows comments).
* Update src/compiler-debugging.md
Co-authored-by: jyn <github@jyn.dev>
* Update src/compiler-debugging.md
Co-authored-by: jyn <github@jyn.dev>
---------
Co-authored-by: Santiago Pastorino <spastorino@gmail.com>
Co-authored-by: jyn <github@jyn.dev>
2023-02-15 11:31:02 -03:00
Tshepang Mbambo
aba825cf33
typo ( #1600 )
...
Fixes #1599
2023-02-15 11:02:38 -03:00
mejrs
faf9268f07
Apply feedback
2022-12-18 00:41:27 +02:00
mejrs
43cd55066d
Add -Ztrack-diagnostics information
2022-12-18 00:41:27 +02:00
Tshepang Mbambo
e6f6103222
fix/improve compiler-debugging
2022-08-10 23:27:09 +02:00
Joshua Nelson
05084c67ff
Update src/compiler-debugging.md
2022-08-10 09:23:51 -05:00
yukang
c328379974
add gdb tips for symbol-mangling-version
2022-08-10 09:23:51 -05:00
Oli Scherer
1620515e37
Move log/tracing instructions to its own file
2021-10-08 15:41:06 -05:00
Camelid
4f16f7cc1d
Fix typo
2021-02-07 22:12:28 -05:00
Iñaki Garay
7a80b01e01
Add mdbook-toc, markers, and documentation ( #1028 )
...
* Add mdbook-toc to travis, book.toml and documentation
* Add toc markers
* Whitespace cleanup and some punctuation
* Addressed comments
2021-01-20 14:33:11 -03:00
Ryan Levick
1db26c008c
Break up long line
2021-01-05 16:13:58 -05:00
Ryan Levick
d01012ada8
Remove backticks and comment about possible bug
2021-01-05 16:13:58 -05:00
Ryan Levick
8a8bb49afa
Update src/compiler-debugging.md
...
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
2021-01-05 16:13:58 -05:00
Ryan Levick
27174ca131
Make instructions for configuring compiler for debug more explicit
2021-01-05 16:13:58 -05:00
Camelid
8bb02718e9
Remove old sentence that should have been removed
...
It was mistakenly not removed in #997 .
2021-01-04 22:43:03 -05:00
Yuki Okushi
37a1ca9416
Fix "Potential incomplete link" error on compiler-debugging.md
2021-01-04 20:12:37 -05:00
Sebastian Widua
1b4d37b32b
Fix some typos
2021-01-04 10:02:33 -05:00
Camelid
4142cf8b8d
Update logging section and explain `RUSTC_LOG_COLOR` ( #997 )
...
* Update logging section and explain `RUSTC_LOG_COLOR`
* Small fixes
Co-authored-by: Léo Lanteri Thauvin <leseulartichaut@gmail.com>
* Mention that prefixes of paths work as log filters
* `=debug` matches `debug!` *and higher*
* Note that `MIRI_LOG_COLOR` only applies to logs from Miri
Co-authored-by: Léo Lanteri Thauvin <leseulartichaut@gmail.com>
2020-12-31 01:08:00 +01: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
Olivier FAURE
7497da24ca
Update src/compiler-debugging.md
...
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
2020-11-11 10:39:15 -05:00
Olivier FAURE
4da49360a6
Update link in compiler-debugging.md
...
Link didn't point to latest version of `env_logger` crate.
Add an explanation to disambiguate the RUSTC_LOG syntax.
2020-11-11 10:39:15 -05:00
Macdonald Umoren
7bda848e3c
debug-logging=true instead of debug-assertions=yes
2020-09-16 21:56:05 -04:00
Rich Kadel
ca3b0a5571
broken intra-page link from spanview to graphviz
...
Just noticed the link was not correct. Fixed here.
2020-09-09 19:01:14 -04:00
Rich Kadel
7b4ab23cc7
Adds documentation to cover spanview output
...
Documents the feature introduced in #76074 .
2020-09-02 12:39:47 +02:00
mark
89f0b60ccc
fix links and names after compiler mv to compiler/
2020-08-31 05:12:13 +02:00
Yuki Okushi
9085f687dd
Clean-up minor issues ( #802 )
2020-07-18 00:00:34 +09:00
Joshua Nelson
7e3da5c2ee
Document rustdoc behavior
...
- `RUSTDOC_LOG`
- `// aux-build:filename.rs`
- `// build-aux-docs`
2020-06-17 09:24:41 -05:00
LeSeulArtichaut
a3287df2ad
Add section for debugging rustc type layouts ( #720 )
2020-05-27 14:17:39 +02:00
Tshepang Lekhonkhobe
c518e9d49d
I confirmed this
2020-05-01 09:17:27 -05:00
Santiago Pastorino
1b0f87c8dc
treat-err-as-bug=n means panic on nth error
2020-04-24 13:48:01 -05:00
Santiago Pastorino
0a31a71b7d
Update some projects locations ( #658 )
2020-04-02 18:40:15 +02:00
LeSeulArtichaut
cb99cfcc1e
Rename `librustc` to `librustc_middle`
2020-03-31 15:43:14 -05:00
Mark Mansi
cc50f978e1
skeleton for backend chapters
2020-03-12 14:11:01 -05:00
ksqsf
63f8ff29bb
backtraces work on Mac
2019-11-12 14:44:41 -06:00
Eduard-Mihai Burtescu
2309adfd9d
Update for TyCtxt<'a, 'gcx, 'tcx> -> TyCtxt<'tcx>.
2019-06-15 16:58:30 -05:00