Commit graph

2007 commits

Author SHA1 Message Date
Tshepang Mbambo
ef8c8fc083 Vetting deps datecheck (#1614) 2023-02-18 22:20:08 +09:00
Tshepang Mbambo
3f3fb0bd8a accept review suggestion
Co-authored-by: Yuki Okushi <jtitor@2k36.org>
2023-02-18 14:10:03 +02:00
Tshepang Mbambo
38a3c6319b fmt 2023-02-18 14:10:03 +02:00
Tshepang Mbambo
79fa0f5941 add Dev Desktops note 2023-02-18 14:10:03 +02:00
Tshepang Mbambo
4b8cc1b285 fix and clarify llvm bugfix policy (#1611) 2023-02-18 20:46:21 +09:00
Tshepang Mbambo
a93cf5fb30 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
c5303db932 lower-case "Compiler" in headings, for consistency (and looks) 2023-02-18 05:04:44 +02:00
Noah Lev
df16ac4899 Explain what the rest of the backend agnostic page is about 2023-02-18 03:54:02 +02:00
Noah Lev
0d8389c31e Bump dependencies to fix CI (#1610) 2023-02-18 09:37:19 +09:00
Tshepang Mbambo
fc6b22a01e accept review suggestion
Co-authored-by: Noah Lev <camelidcamel@gmail.com>
2023-02-17 13:38:10 -08:00
Tshepang Mbambo
8b04713a1a 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
444fa8c37d rustc_codegen_ssa feels permanent enough not to need date-check 2023-02-17 13:38:10 -08:00
Tshepang Mbambo
05773228e8 make use of the symlink, to ease things (#1608) 2023-02-17 14:37:01 -06:00
Tshepang Mbambo
e826d1bd73 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
ff3259b0b9 remove stray text (#1604) 2023-02-16 19:33:05 -08:00
Michele
1d6d25e0b2 Typo 2023-02-16 07:26:00 +02:00
Michele
e8a4dc9db9 Typo 2023-02-16 07:24:32 +02:00
clubby789
3e7c37b69f Add link to vscode settings in Rust repo (#1591) 2023-02-15 15:46:19 -03:00
Tshepang Mbambo
8ede68ae70 avoid code duplication by including files in docs (#1598) 2023-02-15 11:41:35 -03:00
Tshepang Mbambo
648cf5f8ac howto run the examples (#1593) 2023-02-15 11:40:25 -03:00
AE1020
240f076d80 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
4092a74d1f typo (#1600)
Fixes #1599
2023-02-15 11:02:38 -03:00
Tshepang Mbambo
83fa06fda1 use actual names (#1594) 2023-02-14 15:44:23 +09:00
Tshepang Mbambo
0d0a85c890 Fix a typo (#1597) 2023-02-14 15:43:48 +09:00
Christopher Smyth
8d84a0c328 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
6f3364d406 Add a citation file
Signed-off-by: Yuki Okushi <jtitor@2k36.org>
2023-02-11 08:41:56 +02:00
jyn
dca5a7ecd8 Improve git submodule help (#1587) 2023-02-09 19:08:26 +09:00
Hiroki Fujino
c1658f32a0 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
ee58570fff Replace settings.json with x.py setup note (#1588) 2023-02-08 14:26:58 -06:00
Yuki Okushi
dd809b08cd 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
b5eae12f0c 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
23e2c96cb9 update bootstrap guide (#1583)
Signed-off-by: ozkanonur <work@onurozkan.dev>
2023-02-04 16:53:38 -06:00
Nixon Enraght-Moony
9315468bd1 Use host symlink for custom rustup toolchain 2023-02-04 01:01:48 +02:00
Yuki Okushi
1313bdeef3 Fix broken relative links
Signed-off-by: Yuki Okushi <jtitor@2k36.org>
2023-02-03 06:23:25 +02:00
Yuki Okushi
e74b266053 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
405f541494 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
797779f533 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
940a1b6cd9 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
95c411f7e0 Update explnation about benchmarks
Signed-off-by: Yuki Okushi <jtitor@2k36.org>
2023-02-03 06:23:25 +02:00
nils
2684779f4f Add param_env and wording 2023-02-02 10:23:24 +02:00
nils
285c19fe01 Expand section basedd on review comments 2023-02-02 10:23:24 +02:00
Nilstrieb
c901d4341d Add section on comparing types 2023-02-02 10:23:24 +02:00
Zephaniah Ong
64359c7069 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
cc66fdb251 fix wrong heading level (#1573) 2023-02-01 07:29:15 +09:00
ozkanonur
0ea3ec8a27 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
2f8b873f07 extend bootstrap related documentations
Signed-off-by: ozkanonur <work@onurozkan.dev>
2023-01-31 12:42:30 -06:00
nils
f3243f3024 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
a0840d6a9b Apply suggestions from code review
Co-authored-by: Tshepang Mbambo <tshepang@gmail.com>
2023-01-29 20:58:11 +02:00
Denis Belik
a379343314 Update ast-validation.md 2023-01-29 20:58:11 +02:00
Yuki Okushi
9d0cb48524 Use ephemeral PAT for linkcheck
Signed-off-by: Yuki Okushi <jtitor@2k36.org>
2023-01-28 20:39:19 +02:00