Commit Graph

1989 Commits

Author SHA1 Message Date
Tshepang Mbambo d0ee17f100
avoid code duplication by including files in docs (#1598) 2023-02-15 11:41:35 -03:00
Tshepang Mbambo fb4cc6f8ac
howto run the examples (#1593) 2023-02-15 11:40:25 -03:00
AE1020 77aaf99897
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 c9e4cb704c
typo (#1600)
Fixes #1599
2023-02-15 11:02:38 -03:00
Tshepang Mbambo 82257c2705
use actual names (#1594) 2023-02-14 15:44:23 +09:00
Tshepang Mbambo 5eb8171f0b
Fix a typo (#1597) 2023-02-14 15:43:48 +09:00
Christopher Smyth 2ab6fbca7c
Add Neovim configuration information (#1545)
* Add Neovim configuration information
The JSON provided for VSCode works with coc and nlsp-settings.
This is verified by
9d8bdb9290/README.md
for coc, and feeding the JSON in to this schema
215b537cfb/schemas/_generated/rust_analyzer.json
for validating nlsp-settings.

* Make the steps clear
First open a Rust buffer
Then update RA settings
If you don't open a buffer first then nothing will happen. This is because
the plugin makes a raw LSP RPC, so RA must be attached.

* Use separate sections for VSCode and Nvim
* Add a short section on the VSCode tasks.
2023-02-13 23:16:01 -06:00
Yuki Okushi 41a96ab971 Add a citation file
Signed-off-by: Yuki Okushi <jtitor@2k36.org>
2023-02-11 08:41:56 +02:00
jyn df5aee0e60
Improve git submodule help (#1587) 2023-02-09 19:08:26 +09:00
Hiroki Fujino 33ea559131
update examples for rustc 1.69.0-nightly (e1eaa2d5d 2023-02-06) (#1590)
Closes https://github.com/rust-lang/rustc-dev-guide/issues/1581
2023-02-09 18:56:06 +09:00
clubby789 ed5b175ef3
Replace settings.json with x.py setup note (#1588) 2023-02-08 14:26:58 -06:00
Yuki Okushi 7e9449a501 Do not add accept header on linkcheck
It seems that this header causes "406 Not Acceptable" failures: https://github.com/rust-lang/rustc-dev-guide/actions/runs/4092776683/jobs/7057742900
2023-02-06 11:32:47 +02:00
Ciel 0591410a01
Fixed small grammar mistake in monomorph.md (#1585)
Fixes https://github.com/rust-lang/rustc-dev-guide/issues/1584
2023-02-05 17:28:48 +09:00
Onur 2d1e71ac8b
update bootstrap guide (#1583)
Signed-off-by: ozkanonur <work@onurozkan.dev>
2023-02-04 16:53:38 -06:00
Nixon Enraght-Moony 5c65222d4c Use host symlink for custom rustup toolchain 2023-02-04 01:01:48 +02:00
Yuki Okushi d579acb697 Fix broken relative links
Signed-off-by: Yuki Okushi <jtitor@2k36.org>
2023-02-03 06:23:25 +02:00
Yuki Okushi bf4cdde66b Address the change in https://github.com/rust-lang/rust/pull/99715
Signed-off-by: Yuki Okushi <jtitor@2k36.org>
2023-02-03 06:23:25 +02:00
Yuki Okushi 860162abfe Address the change in https://github.com/rust-lang/rust/pull/106718
Signed-off-by: Yuki Okushi <jtitor@2k36.org>
2023-02-03 06:23:25 +02:00
Yuki Okushi e0074c18f0 Address the change in https://github.com/rust-lang/rust/pull/97287
Signed-off-by: Yuki Okushi <jtitor@2k36.org>
2023-02-03 06:23:25 +02:00
Yuki Okushi d30be86ea6 Address the change in https://github.com/rust-lang/rust/pull/107256
Signed-off-by: Yuki Okushi <jtitor@2k36.org>
2023-02-03 06:23:25 +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
nils 49c93f661f Add param_env and wording 2023-02-02 10:23:24 +02:00
nils 5db974f386 Expand section basedd on review comments 2023-02-02 10:23:24 +02:00
Nilstrieb 98cc718964 Add section on comparing types 2023-02-02 10:23:24 +02:00
Zephaniah Ong c97f571561 Update rustfmt path
As per https://github.com/rust-lang/rust/pull/107297#discussion_r1092764740, the change broke the rust-analyzer config. Hence, changing the docs to match the new path
2023-02-01 18:59:30 -06:00
Tshepang Mbambo c42c13eba2
fix wrong heading level (#1573) 2023-02-01 07:29:15 +09:00
ozkanonur ba809ffab0 fix incorrect position of topic
Right now "Clarification of build command's stdout" topic
shows up under the "Environment Variables" which is not correct.
This commit aims to fix this problem.

Signed-off-by: ozkanonur <work@onurozkan.dev>
2023-01-31 22:57:27 +02:00
ozkanonur 472188e1b9 extend bootstrap related documentations
Signed-off-by: ozkanonur <work@onurozkan.dev>
2023-01-31 12:42:30 -06:00
nils e359ee27fc
New infcx usage (#1571)
Fixes https://github.com/rust-lang/rustc-dev-guide/issues/1543
2023-01-31 00:08:16 +09:00
Denis Belik 4a1d5496d5 Apply suggestions from code review
Co-authored-by: Tshepang Mbambo <tshepang@gmail.com>
2023-01-29 20:58:11 +02:00
Denis Belik 54cfdd74e6 Update ast-validation.md 2023-01-29 20:58:11 +02:00
Yuki Okushi 566124f0df Use ephemeral PAT for linkcheck
Signed-off-by: Yuki Okushi <jtitor@2k36.org>
2023-01-28 20:39:19 +02:00
lcnr c166632b37 update datecheck 2023-01-27 15:03:01 -08:00
lcnr 71766d97b0 review 2023-01-27 15:03:01 -08:00
lcnr 167d22c126 line length 2023-01-27 15:03:01 -08:00
lcnr 7eaff60278 Update src/solve/canonicalization.md
Co-authored-by: Tshepang Mbambo <tshepang@gmail.com>
2023-01-27 15:03:01 -08:00
lcnr 9656b8ca34 review 2023-01-27 15:03:01 -08:00
lcnr 15bd9e49bb Update src/solve/canonicalization.md
Co-authored-by: Boxy <supbscripter@gmail.com>
2023-01-27 15:03:01 -08:00
lcnr 61771df6d8 fix line lengths 2023-01-27 15:03:01 -08:00
lcnr 0bcdb56e3a add section for the new trait solver 2023-01-27 15:03:01 -08:00
Tshepang Mbambo f4f78f752c
version 5 is now not supported (#1568) 2023-01-27 19:09:37 +09:00
Tshepang Mbambo 21c77d78d0
there are still no locale bundles (#1567) 2023-01-27 07:52:25 +09:00
Tshepang Mbambo 0e18184ce3
bumpt date-check examples to current month (#1566) 2023-01-27 07:51:28 +09:00
Yang Pan b6cc4604d0 Update hir.md
Fix method name and the link, as it's outdated.
2023-01-25 17:29:12 +02:00
Tshepang Mbambo 5ecd75a393 fix review suggestion 2023-01-21 16:12:58 +02:00
Tshepang Mbambo 757ad6dcb9 accept review suggestion
Co-authored-by: lcnr <rust@lcnr.de>
2023-01-21 16:12:58 +02:00
Tshepang Mbambo 042c49c64e rustc_typeck exists no more 2023-01-21 16:12:58 +02:00
Albert Larsan 7d3c1c827e
Correct tests misplacement (#1564)
Since the tests move, this was not correct anymore.
2023-01-20 11:18:15 -03:00
gftea 7313897468
Update resolution.md (#1561) 2023-01-18 07:46:14 +09:00
gftea ea33f70d09
Update asm.md (#1560) 2023-01-17 21:44:19 +09:00