about summary refs log tree commit diff
path: root/src/doc
AgeCommit message (Collapse)AuthorLines
2023-02-20keep "grey area" lint summary green (#1619)Tshepang Mbambo-5/+6
This replaces link to a removed lint with a link to discussion of lints of its type.
2023-02-20new solver: write canonicalization chapter (#1595)lcnr-6/+80
* write canonicalization chapter first half * w * review * very good section * whatever * review * ok
2023-02-19bootstrap now creates a usable toolchain when building stage0 stdThe 8472-0/+1
2023-02-18llvm 13 is now not supported (#1612)Tshepang Mbambo-3/+1
2023-02-18enable AND search (#1607)Tshepang Mbambo-0/+3
2023-02-18Vetting deps datecheck (#1614)Tshepang Mbambo-4/+3
2023-02-18accept review suggestionTshepang Mbambo-1/+1
Co-authored-by: Yuki Okushi <jtitor@2k36.org>
2023-02-18fmtTshepang Mbambo-3/+3
2023-02-18add Dev Desktops noteTshepang Mbambo-1/+4
2023-02-18fix and clarify llvm bugfix policy (#1611)Tshepang Mbambo-4/+4
2023-02-18Auto merge of #99679 - repnop:kernel-address-sanitizer, r=cuviperbors-0/+20
Add `kernel-address` sanitizer support for freestanding targets This PR adds support for KASan (kernel address sanitizer) instrumentation in freestanding targets. I included the minimal set of `x86_64-unknown-none`, `riscv64{imac, gc}-unknown-none-elf`, and `aarch64-unknown-none` but there's likely other targets it can be added to. (`linux_kernel_base.rs`?) KASan uses the address sanitizer attributes but has the `CompileKernel` parameter set to `true` in the pass creation.
2023-02-18impl review suggestionTshepang Mbambo-1/+1
See https://github.com/rust-lang/rustc-dev-guide/pull/1605#discussion_r1110388310
2023-02-18lower-case "Compiler" in headings, for consistency (and looks)Tshepang Mbambo-11/+11
2023-02-18Explain what the rest of the backend agnostic page is aboutNoah Lev-5/+8
2023-02-18Bump dependencies to fix CI (#1610)Noah Lev-2/+2
2023-02-17accept review suggestionTshepang Mbambo-1/+1
Co-authored-by: Noah Lev <camelidcamel@gmail.com>
2023-02-17address review commentTshepang Mbambo-2/+3
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-17rustc_codegen_ssa feels permanent enough not to need date-checkTshepang Mbambo-3/+4
2023-02-17make use of the symlink, to ease things (#1608)Tshepang Mbambo-3/+3
2023-02-16have checkboxes only point to date-check lines in files (#1603)Tshepang Mbambo-1/+1
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-16remove stray text (#1604)Tshepang Mbambo-1/+0
2023-02-16TypoMichele-1/+1
2023-02-16TypoMichele-1/+1
2023-02-16Remove save-analysis.Nicholas Nethercote-1/+0
Most tests involving save-analysis were removed, but I kept a few where the `-Zsave-analysis` was an add-on to the main thing being tested, rather than the main thing being tested. For `x.py install`, the `rust-analysis` target has been removed. For `x.py dist`, the `rust-analysis` target has been kept in a degenerate form: it just produces a single file `reduced.json` indicating that save-analysis has been removed. This is necessary for rustup to keep working. Closes #43606.
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-14Add `kernel-address` sanitizer support for freestanding targetsWesley Norris-0/+20
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-13Rollup merge of #108002 - rustbot:docs-update, r=ehussMatthias Krüger-0/+0
Update books ## rust-lang/book 2 commits in f2a78f64b668f63f581203c6bac509903f7c00ee..d94e03a18a2590ed3f1c67b859cb11528d2a2d5c 2023-02-10 16:01:09 UTC to 2023-02-10 15:55:43 UTC - Update to Rust 1.67.1 - Update to Rust 1.66.1 ## rust-embedded/book 1 commits in f1a4614aa41cc544b91b79760a709e113f3451d7..701d1551429da4cb609082c0ac99df569e336710 2023-01-31 12:32:49 UTC to 2023-01-31 12:32:49 UTC - fix: Circled Image not visible on B&W E-Ink screen (rust-embedded/book#339) ## rust-lang/nomicon 2 commits in bd1829d235296952bf72ca55635e360584b8805e..79b53665a7c61d171fb8c5ad0b73b371f9ee6ba7 2023-02-13 08:40:24 UTC to 2023-02-07 09:43:03 UTC - Fixes double bug in Send-Sync example (rust-lang/nomicon#401) - Small language fix in subtyping.md (rust-lang/nomicon#399) ## rust-lang/reference 4 commits in 22882fb3f7b4d69fdc0d1731e8b9cfcb6910537d..e5adb99c04817b7fbe08f4ffce5b36702667345f 2023-02-08 18:09:03 UTC to 2023-02-01 03:49:46 UTC - Eliminate 'half open' terminology from range pattern grammar (rust-lang/reference#1330) - fix place expression context example (rust-lang/reference#1327) - remove confusing words (rust-lang/reference#1324) - Reword "expression for a match arm" (rust-lang/reference#1325) ## rust-lang/rust-by-example 5 commits in 134376872e8c387ef369507e0ee9b5a0e3272718..efe23c4fe12e06351b8dc8c3d18312c761455109 2023-02-06 11:32:23 UTC to 2023-01-31 16:38:03 UTC - fix irrelevant comments (rust-lang/rust-by-example#1676) - remove redudant code (rust-lang/rust-by-example#1675) - Line comments: change 'inside' to 'after' (rust-lang/rust-by-example#1674) - fix incorrect trait bound demonstration (rust-lang/rust-by-example#1673) - fix "High Order Functions" typo (rust-lang/rust-by-example#1672) ## rust-lang/rustc-dev-guide 14 commits in e359ee27fc3da3356d71a732128c0a1abe02e53a..41a96ab971cb45e2a184df20619ad1829765c990 2023-02-11 06:41:56 UTC to 2023-01-31 18:42:30 UTC - Add a citation file (rust-lang/rustc-dev-guide#1550) - Improve git submodule help (rust-lang/rustc-dev-guide#1587) - update examples for rustc 1.69.0-nightly (e1eaa2d5d 2023-02-06) (rust-lang/rustc-dev-guide#1590) - Replace settings.json with x.py setup note (rust-lang/rustc-dev-guide#1588) - Do not add accept header on linkcheck (rust-lang/rustc-dev-guide#1586) - Fixed small grammar mistake in monomorph.md (rust-lang/rustc-dev-guide#1585) - update bootstrap guide (rust-lang/rustc-dev-guide#1583) - Use host symlink for custom rustup toolchain (rust-lang/rustc-dev-guide#1580) - Fix broken links (rust-lang/rustc-dev-guide#1577) - Add section on comparing types (rust-lang/rustc-dev-guide#1570) - Update rustfmt path (rust-lang/rustc-dev-guide#1574) - fix wrong heading level (rust-lang/rustc-dev-guide#1573) - fix incorrect position of `Clarification of build command's stdout` (rust-lang/rustc-dev-guide#1572) - extend bootstrap related documentations (rust-lang/rustc-dev-guide#1563)
2023-02-13Rollup merge of #107913 - base0x10:master, r=compiler-errorsMatthias Krüger-2/+1
Update broken link in cargo style guide Toml now uses [toml.io](https://toml.io) for released specifications and the github repo for development. Also the old link was for the 0.4 specification, while cargo uses toml_edit, which uses toml 1.0 (reference: https://github.com/toml-rs/toml/blob/main/crates/toml_edit/CHANGELOG.md#030---2021-09-13). Finally the discussion of "Bare keys" vs "Quoted keys" has moved from the `#table` section to `#keys`.
2023-02-13Update booksrustbot-0/+0
2023-02-11Auto merge of #106677 - tbu-:pr_less_doc_hidden_pub, r=scottmcmbors-10/+0
Remove a couple of `#[doc(hidden)] pub fn` and their `#[feature]` gates
2023-02-11Add a citation fileYuki Okushi-3/+12
Signed-off-by: Yuki Okushi <jtitor@2k36.org>
2023-02-10Update broken link in cargo style guidebase0x10-2/+1
Toml now uses [toml.io](https://toml.io) for released specifications and the github repo for development. Also the old link was for the 0.4 specification, while cargo uses toml_edit, which uses toml 1.0 (reference: https://github.com/toml-rs/toml/blob/main/crates/toml_edit/CHANGELOG.md#030---2021-09-13). Finally the discussion of "Bare keys" vs "Quoted keys" has moved from the `#table` section to `#keys`.
2023-02-10Remove a couple of `#[doc(hidden)] pub fn` and their `#[feature]` gatesTobias Bucher-10/+0
2023-02-10Rollup merge of #107043 - Nilstrieb:true-and-false-is-false, r=wesleywiserMatthias Krüger-32/+32
Support `true` and `false` as boolean flag params Implements [MCP 577](https://github.com/rust-lang/compiler-team/issues/577).
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-09Parse "-Z instrument-xray" codegen optionOleksii Lozovskyi-0/+39
Recognize all bells and whistles that LLVM's XRay pass is capable of. The always/never settings are a bit dumb without attributes but they're still there. The default instruction count is chosen by the compiler, not LLVM pass. We'll do it later.
2023-02-08Replace settings.json with x.py setup note (#1588)clubby789-36/+5
2023-02-07Rollup merge of #107750 - tshepang:readability, r=GuillaumeGomezMatthias Krüger-1/+1
make more readable
2023-02-07make more readableTshepang Mbambo-1/+1
2023-02-07allow quick-edit convenienceTshepang Mbambo-0/+1
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