about summary refs log tree commit diff
path: root/src/doc
AgeCommit message (Collapse)AuthorLines
2023-03-14Update rustdoc-internals.mdMichael Howell-87/+141
2023-03-13Update booksrustbot-0/+0
2023-03-13Auto merge of #108471 - clubby789:unbox-the-syntax, r=Nilstrieb,est31bors-28/+19
Remove `box_syntax` r? `@Nilstrieb` This removes the feature `box_syntax`, which allows the use of `box <expr>` to create a Box, and finalises removing use of the feature from the compiler. `box_patterns` (allowing the use of `box <pat>` in a pattern) is unaffected. It also removes `ast::ExprKind::Box` - the only way to create a 'box' expression now is with the rustc-internal `#[rustc_box]` attribute. As a temporary measure to help users move away, `box <expr>` now parses the inner expression, and emits a `MachineApplicable` lint to replace it with `Box::new` Closes #49733
2023-03-13Rename `config.toml.example` to `config.example.toml`Thom Chiovoloni-7/+7
2023-03-12Remove `box-syntax` from unstable bookclubby789-22/+0
2023-03-12Remove `box_syntax` from AST and use in toolsclubby789-2/+0
2023-03-12Remove uses of `box_syntax` in rustc and toolsclubby789-4/+19
2023-03-12fix typo `SubstRef` to `SubstsRef`Yutaro Ohno-1/+1
2023-03-11Rename `config.toml.example` to `config.example.toml`Thom Chiovoloni-1/+1
2023-03-10improve accuracyTshepang Mbambo-2/+1
2023-03-10tracing log along diff cratesbohan-0/+4
2023-03-09avoid reuse tripping over copyright noticesPietro Albini-0/+2
2023-03-08Fix Rust Analyzer settings locationclubby789-4/+4
This file was moved in https://github.com/rust-lang/rust/pull/108618
2023-03-06Add tracking issue for cf-protection to unstable bookWesley Wiser-0/+4
2023-03-06Reflect the changes in rust-lang/rust#67000 (#1632)Yuki Okushi-7/+6
Signed-off-by: Yuki Okushi <jtitor@2k36.org>
2023-03-06improve capacity note (#1634)Tshepang Mbambo-14/+16
2023-03-05Add platform support documentation for x86_64h-apple-darwinThom Chiovoloni-0/+59
2023-03-05Rollup merge of #108613 - jyn514:rm-skip-rebuild, r=Mark-SimulacrumMatthias Krüger-1/+0
Remove `llvm.skip-rebuild` option This was added to in 2019 to speed up rebuild times when LLVM was modified. Now that download-ci-llvm exists, I don't think it makes sense to support an unsound option like this that can lead to miscompiles; and the code cleanup is nice too. r? `@Mark-Simulacrum` cc `@varkor` #65612
2023-03-04Support for Fuchsia RISC-V targetPetr Hosek-0/+1
Fuchsia is in the process of implementing the RISC-V support. This change implements the minimal Rust compiler support. The support for building runtime libraries will be implemented in follow up changes once Fuchsia SDK has the RISC-V support.
2023-03-03Rollup merge of #108634 - SUPERCILEX:patch-1, r=JohnTitorMatthias Krüger-0/+2
Add link to component dashboard It's a pain to find otherwise.
2023-03-03Rollup merge of #104549 - ↵Matthias Krüger-0/+43
folkertdev:unstable-book-export-executable-symbols, r=WaffleLapkin add -Zexport-executable-symbols to unstable book This flag has been extremely useful to me, but it's hard to discover. The text contains a bunch of terms that hopefully a search engine will pick up on when someone searches for this functionality.
2023-03-03Remove mention to lexer/parser refactoringYuki Okushi-3/+0
Signed-off-by: Yuki Okushi <jtitor@2k36.org>
2023-03-03Update date reference about infer context variablesYuki Okushi-1/+1
Signed-off-by: Yuki Okushi <jtitor@2k36.org>
2023-03-03Update explnation about `Body.basic_blocks`Yuki Okushi-3/+2
Signed-off-by: Yuki Okushi <jtitor@2k36.org>
2023-03-03Add detail to contributing guide (#1628)apiraino-0/+15
2023-03-03Making the sentence more clear (#1624)Mika-1/+1
2023-03-03Fixed typing error (#1623)Mika-1/+1
2023-03-03update error code docs to reflect recent changes (#1625)Ezra Shaw-93/+108
2023-03-02whitespace, delete unstable book pageGibby Free-27/+0
2023-03-02Rollup merge of #108585 - djkoloski:parallel_fuchsia_test_runner, r=tmandryMatthias Krüger-5/+2
Run compiler test suite in parallel on Fuchsia This also adds file locking around calls to `pm publish` as these calls are not thread-safe.
2023-03-02Auto merge of #106673 - flba-eb:add_qnx_nto_stdlib, r=workingjubileebors-27/+152
Add support for QNX Neutrino to standard library This change: - adds standard library support for QNX Neutrino (7.1). - upgrades `libc` to version `0.2.139` which supports QNX Neutrino `@gh-tr` ⚠️ Backtraces on QNX require https://github.com/rust-lang/backtrace-rs/pull/507 which is not yet merged! (But everything else works without these changes) ⚠️ Tested mainly with a x86_64 virtual machine (see qnx-nto.md) and partially with an aarch64 hardware (some tests fail due to constrained resources).
2023-03-01Add link to component dashboardAlex Saveau-0/+2
2023-03-01Run compiler test suite in parallel on FuchsiaDavid Koloski-5/+2
2023-03-01Rollup merge of #108143 - notriddle:notriddle/filter-exclamation-macro, ↵Dylan DPC-0/+3
r=GuillaumeGomez rustdoc: search by macro when query ends with `!` Related to #96399 Note: the `never` type alias is tested in [`/tests/rustdoc-js-std/alias-3.js`](https://github.com/notriddle/rust/blob/08ad401633037cc226b3806a3c5f48c2f34703bf/tests/rustdoc-js-std/alias-3.js) ## Before ![image](https://user-images.githubusercontent.com/1593513/219504192-54cc0753-ff97-4a37-ad4a-8ae915181325.png) ## After ![image](https://user-images.githubusercontent.com/1593513/219504251-589a7e11-1e7b-4b7b-879d-1b564080017c.png)
2023-03-01Remove `llvm.skip-rebuild` optionJoshua Nelson-1/+0
This was added to in 2019 to speed up rebuild times when LLVM was modified. Now that download-ci-llvm exists, I don't think it makes sense to support an unsound option like this that can lead to miscompiles; and the code cleanup is nice too.
2023-03-01Auto merge of #108587 - matthiaskrgr:rollup-rw6po59, r=matthiaskrgrbors-1/+0
Rollup of 10 pull requests Successful merges: - #108376 (compiler/rustc_session: fix sysroot detection logic) - #108400 (add llvm cgu instructions stats to perf) - #108496 (fix #108495, postfix decrement and prefix decrement has no warning) - #108505 (Further unify validity intrinsics) - #108520 (Small cleanup to `one_bound_for_assoc_type`) - #108560 (Some `infer/mod.rs` cleanups) - #108563 (Make mailmap more correct) - #108564 (Fix `x clean` with specific paths) - #108571 (Add contains_key to SortedIndexMultiMap) - #108578 (Update Fuchsia platform team members) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
2023-02-28Update Fuchsia platform team membersDavid Koloski-1/+0
2023-02-28Mark stdlib for QNX as fully availableFlorian Bartels-2/+2
2023-02-28Add QNX Neutrino support to libstdFlorian Bartels-25/+150
Co-authored-by: gh-tr <troach@qnx.com>
2023-02-27Update booksrustbot-0/+0
2023-02-27Fixed typing errors (#1622)Mika-2/+2
2023-02-26Rollup merge of #107062 - tgross35:update-doc-index, r=ehussMatthias Krüger-63/+165
Do some cleanup of doc/index.md I think a lot of people get to this landing page from `rustup doc`, and it's a bit tricky to find some useful information. I attempted to clean it up here a bit, from the commit message: - Add quick link to API docs - Add marker for external links, to help offline users - Add information about using 'cargo doc' and the playground - Clean up some of the wording - Update body & header style to match rustdoc defaults - Bump heading levels so main page header is 1, others are 2 (all were level 1 before)
2023-02-25Rollup merge of #108354 - djkoloski:update_fuchsia_test_runner, r=djkoloskiMatthias Krüger-14/+80
Update `fuchsia-test-runner.py` and docs This updates the test runner to the latest version of the SDK and fixes debugging support for Rust source code. r? ``@tmandry``
2023-02-24Update `fuchsia-test-runner.py` and docsDavid Koloski-14/+80
This updates the test runner to the latest version of the SDK and fixes debugging support for Rust source code.
2023-02-24doc: cleanup of doc/index.mdTrevor Gross-63/+165
- Add quick link to API docs - Add marker for external links, to help offline users - Add information about using 'cargo doc' and the playground - Clean up some of the wording - Update body & header style to match rustdoc defaults
2023-02-21Update how-to-read-rustdoc.mdMichael Howell-0/+3
2023-02-21this remains true (#1620)Tshepang Mbambo-1/+1
2023-02-21diagnostics: small fixes/improvements (#1618)Tshepang Mbambo-3/+3
2023-02-21typo (#1616)Tshepang Mbambo-1/+1
2023-02-21typo (#1617)Tshepang Mbambo-1/+1