about summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide
AgeCommit message (Collapse)AuthorLines
2023-02-16remove stray text (#1604)Tshepang Mbambo-1/+0
2023-02-16TypoMichele-1/+1
2023-02-16TypoMichele-1/+1
2023-02-15Add link to vscode settings in Rust repo (#1591)clubby789-0/+6
2023-02-15avoid code duplication by including files in docs (#1598)Tshepang Mbambo-67/+4
2023-02-15howto run the examples (#1593)Tshepang Mbambo-21/+17
2023-02-15Add sample CodeLLDB launch.json (#1482)AE1020-0/+34
* 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-15typo (#1600)Tshepang Mbambo-1/+1
Fixes #1599
2023-02-14use actual names (#1594)Tshepang Mbambo-2/+2
2023-02-14Fix a typo (#1597)Tshepang Mbambo-1/+1
2023-02-13Add Neovim configuration information (#1545)Christopher Smyth-4/+32
* Add Neovim configuration information The JSON provided for VSCode works with coc and nlsp-settings. This is verified by https://github.com/fannheyward/coc-rust-analyzer/blob/9d8bdb9290e2a9644367594a1ceed0288506efcd/README.md for coc, and feeding the JSON in to this schema https://github.com/tamago324/nlsp-settings.nvim/blob/215b537cfb3fad7c9c2e352fe47a10698b0993e0/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-11Add a citation fileYuki Okushi-3/+12
Signed-off-by: Yuki Okushi <jtitor@2k36.org>
2023-02-09Improve git submodule help (#1587)jyn-8/+10
2023-02-09update examples for rustc 1.69.0-nightly (e1eaa2d5d 2023-02-06) (#1590)Hiroki Fujino-17/+16
Closes https://github.com/rust-lang/rustc-dev-guide/issues/1581
2023-02-08Replace settings.json with x.py setup note (#1588)clubby789-36/+5
2023-02-06Do not add accept header on linkcheckYuki Okushi-1/+1
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-05Fixed small grammar mistake in monomorph.md (#1585)Ciel-1/+1
Fixes https://github.com/rust-lang/rustc-dev-guide/issues/1584
2023-02-04update bootstrap guide (#1583)Onur-67/+11
Signed-off-by: ozkanonur <work@onurozkan.dev>
2023-02-04Use host symlink for custom rustup toolchainNixon Enraght-Moony-8/+2
2023-02-03Fix broken relative linksYuki Okushi-4/+4
Signed-off-by: Yuki Okushi <jtitor@2k36.org>
2023-02-03Address the change in https://github.com/rust-lang/rust/pull/99715Yuki Okushi-4/+3
Signed-off-by: Yuki Okushi <jtitor@2k36.org>
2023-02-03Address the change in https://github.com/rust-lang/rust/pull/106718Yuki Okushi-4/+4
Signed-off-by: Yuki Okushi <jtitor@2k36.org>
2023-02-03Address the change in https://github.com/rust-lang/rust/pull/97287Yuki Okushi-12/+12
Signed-off-by: Yuki Okushi <jtitor@2k36.org>
2023-02-03Address the change in https://github.com/rust-lang/rust/pull/107256Yuki Okushi-7/+7
Signed-off-by: Yuki Okushi <jtitor@2k36.org>
2023-02-03Update explnation about benchmarksYuki Okushi-5/+6
Signed-off-by: Yuki Okushi <jtitor@2k36.org>
2023-02-02Add param_env and wordingnils-2/+3
2023-02-02Expand section basedd on review commentsnils-12/+37
2023-02-02Add section on comparing typesNilstrieb-7/+25
2023-02-01Update rustfmt pathZephaniah Ong-1/+1
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-01fix wrong heading level (#1573)Tshepang Mbambo-1/+1
2023-01-31fix incorrect position of topicozkanonur-4/+4
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-31extend bootstrap related documentationsozkanonur-32/+83
Signed-off-by: ozkanonur <work@onurozkan.dev>
2023-01-31New infcx usage (#1571)nils-7/+5
Fixes https://github.com/rust-lang/rustc-dev-guide/issues/1543
2023-01-29Apply suggestions from code reviewDenis Belik-4/+3
Co-authored-by: Tshepang Mbambo <tshepang@gmail.com>
2023-01-29Update ast-validation.mdDenis Belik-3/+34
2023-01-28Use ephemeral PAT for linkcheckYuki Okushi-0/+4
Signed-off-by: Yuki Okushi <jtitor@2k36.org>
2023-01-27update datechecklcnr-1/+2
2023-01-27reviewlcnr-10/+22
2023-01-27line lengthlcnr-1/+2
2023-01-27Update src/solve/canonicalization.mdlcnr-1/+1
Co-authored-by: Tshepang Mbambo <tshepang@gmail.com>
2023-01-27reviewlcnr-4/+22
2023-01-27Update src/solve/canonicalization.mdlcnr-1/+1
Co-authored-by: Boxy <supbscripter@gmail.com>
2023-01-27fix line lengthslcnr-32/+67
2023-01-27add section for the new trait solverlcnr-0/+328
2023-01-27version 5 is now not supported (#1568)Tshepang Mbambo-7/+5
2023-01-27there are still no locale bundles (#1567)Tshepang Mbambo-1/+1
2023-01-27bumpt date-check examples to current month (#1566)Tshepang Mbambo-3/+3
2023-01-25Update hir.mdYang Pan-2/+2
Fix method name and the link, as it's outdated.
2023-01-21fix review suggestionTshepang Mbambo-1/+5
2023-01-21accept review suggestionTshepang Mbambo-3/+1
Co-authored-by: lcnr <rust@lcnr.de>