Commit Graph

2155 Commits

Author SHA1 Message Date
Tshepang Mbambo 727941feae fmt 2023-02-18 14:10:03 +02:00
Tshepang Mbambo b328f82882 add Dev Desktops note 2023-02-18 14:10:03 +02:00
Tshepang Mbambo 8715e8f6e8
fix and clarify llvm bugfix policy (#1611) 2023-02-18 20:46:21 +09:00
Tshepang Mbambo 6f536e44bc impl review suggestion
See https://github.com/rust-lang/rustc-dev-guide/pull/1605#discussion_r1110388310
2023-02-18 05:04:44 +02:00
Tshepang Mbambo 64f1af18f5 lower-case "Compiler" in headings, for consistency (and looks) 2023-02-18 05:04:44 +02:00
Noah Lev 1a721616c9 Explain what the rest of the backend agnostic page is about 2023-02-18 03:54:02 +02:00
Noah Lev 91d8bbe8a3
Bump dependencies to fix CI (#1610) 2023-02-18 09:37:19 +09:00
Tshepang Mbambo 1f4d6ac25e accept review suggestion
Co-authored-by: Noah Lev <camelidcamel@gmail.com>
2023-02-17 13:38:10 -08:00
Tshepang Mbambo 4e8110ceb2 address review comment
See
- https://github.com/rust-lang/rustc-dev-guide/pull/1606#discussion_r1109298849
- https://github.com/rust-lang/rustc-dev-guide/pull/1606#discussion_r1109298280
2023-02-17 13:38:10 -08:00
Tshepang Mbambo ed87804535 rustc_codegen_ssa feels permanent enough not to need date-check 2023-02-17 13:38:10 -08:00
Tshepang Mbambo c80a26fc4d
make use of the symlink, to ease things (#1608) 2023-02-17 14:37:01 -06:00
Tshepang Mbambo 2c113b3e7f
have checkboxes only point to date-check lines in files (#1603)
They currently also point to filenames, which is redundant.

current

- [ ] thir.md
  - [ ] line 7: 2022-04
  - [ ] line 60: 2022-08
- [ ] traits/chalk.md
  - [ ] line 4: 2022-05

proposed

- thir.md
  - [ ] line 7: 2022-04
  - [ ] line 60: 2022-08
- traits/chalk.md
  - [ ] line 4: 2022-05
2023-02-16 20:38:25 -08:00
Tshepang Mbambo fdacc773e0
remove stray text (#1604) 2023-02-16 19:33:05 -08:00
Michele df7970bf0d Typo 2023-02-16 07:26:00 +02:00
Michele 4a86a8dd74 Typo 2023-02-16 07:24:32 +02:00
clubby789 74afdfc2f3
Add link to vscode settings in Rust repo (#1591) 2023-02-15 15:46:19 -03:00
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