Commit graph

2023 commits

Author SHA1 Message Date
Yuki Okushi
9a058edb05 Update date reference about infer context variables
Signed-off-by: Yuki Okushi <jtitor@2k36.org>
2023-03-03 17:39:11 +02:00
Yuki Okushi
b3488e05f1 Update explnation about Body.basic_blocks
Signed-off-by: Yuki Okushi <jtitor@2k36.org>
2023-03-03 17:25:20 +02:00
apiraino
8920ae80f5 Add detail to contributing guide (#1628) 2023-03-03 20:14:53 +09:00
Mika
8b68f142fa Making the sentence more clear (#1624) 2023-03-03 20:13:46 +09:00
Mika
b16806f294 Fixed typing error (#1623) 2023-03-03 20:13:18 +09:00
Ezra Shaw
bebe840f1f update error code docs to reflect recent changes (#1625) 2023-03-03 20:12:51 +09:00
Mika
b8c9fc99c8 Fixed typing errors (#1622) 2023-02-27 07:30:52 +09:00
Tshepang Mbambo
6245105a65 this remains true (#1620) 2023-02-21 23:12:14 +09:00
Tshepang Mbambo
184818caed diagnostics: small fixes/improvements (#1618) 2023-02-21 22:57:34 +09:00
Tshepang Mbambo
326cfc2530 typo (#1616) 2023-02-21 22:57:16 +09:00
Tshepang Mbambo
892ca32e1e typo (#1617) 2023-02-21 22:56:16 +09:00
Tshepang Mbambo
0b402ec90b keep "grey area" lint summary green (#1619)
This replaces link to a removed lint with a link to discussion of lints
of its type.
2023-02-20 19:08:35 -06:00
lcnr
6c0acb4265 new solver: write canonicalization chapter (#1595)
* write canonicalization chapter first half

* w

* review

* very good section

* whatever

* review

* ok
2023-02-20 14:45:25 +00:00
The 8472
de422a6760 bootstrap now creates a usable toolchain when building stage0 std 2023-02-19 13:43:56 +01:00
Tshepang Mbambo
7ac48f65f0 llvm 13 is now not supported (#1612) 2023-02-18 22:20:46 +09:00
Tshepang Mbambo
1da2b1723d enable AND search (#1607) 2023-02-18 22:20:26 +09:00
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