about summary refs log tree commit diff
path: root/src/doc
AgeCommit message (Collapse)AuthorLines
2024-02-22Update compiletest directives to be in `ui_test` style `//@`许杰友 Jieyou Xu (Joe)-22/+21
2024-02-22Rollup merge of #121452 - jonathanpallant:patch-1, r=AmanieuMatthias Krüger-0/+2
Add new maintainers to nto-qnx.md [Ferrous Systems](https://ferrous-systems.com) are volunteering myself and `@japaric` as co-maintainers of the QNX targets.
2024-02-22Add new maintainers to nto-qnx.mdJonathan Pallant-0/+2
Ferrous Systems are volunteering myself and Jorge as co-maintainers of the QNX targets.
2024-02-22Auto merge of #121309 - Nilstrieb:inline-all-the-fallbacks, r=oli-obkbors-0/+2
Make intrinsic fallback bodies cross-crate inlineable This change was prompted by the stage1 compiler spending 4% of its time when compiling the polymorphic-recursion MIR opt test in `unlikely`. Intrinsic fallback bodies like `unlikely` should always be inlined, it's very silly if they are not. To do this, we enable the fallback bodies to be cross-crate inlineable. Not that this matters for our workloads since the compiler never actually _uses_ the "fallback bodies", it just uses whatever was cfg(bootstrap)ped, so I've also added `#[inline]` to those. See the comments for more information. r? oli-obk
2024-02-21Add notes on tweak rust-analyzer.check.overrideCommand (#1890)Yukang-0/+6
2024-02-21Fix more links (#1884)Yuki Okushi-25/+24
2024-02-19Separate testing and production sanitizersOli Iliffe-15/+29
2024-02-19Make intrinsic fallback bodies cross-crate inlineableNilstrieb-0/+2
This change was prompted by the stage1 compiler spending 4% of its time when compiling the polymorphic-recursion MIR opt test in `unlikely`. Intrinsic fallback bodies like `unlikely` should always be inlined, it's very silly if they are not. To do this, we enable the fallback bodies to be cross-crate inlineable. Not that this matters for our workloads since the compiler never actually _uses_ the "fallback bodies", it just uses whatever was cfg(bootstrap)ped, so I've also added `#[inline]` to those.
2024-02-17Remove reference to -Z ast-json and -Z ast-json-noexpandMatthew Woodcraft-2/+0
These were removed in 2021. https://github.com/rust-lang/rust/pull/85993
2024-02-16Specify ui test suite directives and add note on ignore-tidy directives许杰友 Jieyou Xu (Joe)-4/+6
2024-02-16Update src/tests/ui.mdMichael Goulet-1/+1
Co-authored-by: Tshepang Mbambo <tshepang@gmail.com>
2024-02-16Update docs about ui tests now using `//@` headersOli Scherer-17/+22
2024-02-16Rollup merge of #121137 - GuillaumeGomez:add-clippy-cfg, r=Urgau,NilstriebGuillaume Gomez-1/+2
Add clippy into the known `cfg` list In clippy, we are removing the `feature = "cargo-clippy"` cfg to replace it with `clippy` in https://github.com/rust-lang/rust-clippy/pull/12292. But for it to work, we need to declare `clippy` as cfg. It makes it more coherent with other existing tools like rustdoc. cc `@flip1995`
2024-02-16Auto merge of #120500 - oli-obk:intrinsics2.0, r=WaffleLapkinbors-2/+50
Implement intrinsics with fallback bodies fixes #93145 (though we can port many more intrinsics) cc #63585 The way this works is that the backend logic for generating custom code for intrinsics has been made fallible. The only failure path is "this intrinsic is unknown". The `Instance` (that was `InstanceDef::Intrinsic`) then gets converted to `InstanceDef::Item`, which represents the fallback body. A regular function call to that body is then codegenned. This is currently implemented for * codegen_ssa (so llvm and gcc) * codegen_cranelift other backends will need to adjust, but they can just keep doing what they were doing if they prefer (though adding new intrinsics to the compiler will then require them to implement them, instead of getting the fallback body). cc `@scottmcm` `@WaffleLapkin` ### todo * [ ] miri support * [x] default intrinsic name to name of function instead of requiring it to be specified in attribute * [x] make sure that the bodies are always available (must be collected for metadata)
2024-02-15Update rust book cfg chapterGuillaume Gomez-1/+2
2024-02-14Make git rebase commands more bulletproof (#1889)Jakub Beránek-6/+16
2024-02-13Rollup merge of #121021 - GuillaumeGomez:extend-intra-doc-link-chapter, ↵Matthias Krüger-0/+18
r=notriddle Extend intra-doc link chapter in the rustdoc book Linked to #117178. r? `@notriddle`
2024-02-13Rollup merge of #120548 - GuillaumeGomez:glob-reexport-cfg-merge, ↵Matthias Krüger-0/+29
r=GuillaumeGomez rustdoc: Fix handling of doc_auto_cfg feature for cfg attributes on glob reexport This is a follow-up of #120501 and a part of https://github.com/rust-lang/rust/issues/120487. r? `@notriddle`
2024-02-13Rollup merge of #114877 - tshepang:patch-1, r=Dylan-DPCMatthias Krüger-0/+1
unstable-book: add quick-edit link
2024-02-13updating-llvm.md: command does not work (#1887)Tshepang Mbambo-1/+0
2024-02-13fix update llvm build commandGnana Ganesh-1/+1
2024-02-13Extend intra-doc link chapter in the rustdoc bookGuillaume Gomez-0/+18
2024-02-12Update booksrustbot-0/+0
2024-02-12Implement intrinsics with fallback bodiesOli Scherer-2/+50
2024-02-11Rollup merge of #120937 - ian-h-chamberlain:docs/update-3ds-links-and-info, ↵Matthias Krüger-14/+12
r=JohnTitor [docs] Update armv6k-nintendo-3ds platform docs for outdated info Mostly just fixing links and references to renamed crates, but also updating a bit of outdated info as well. CC `@Meziu` `@AzureMarker`
2024-02-11Update links to rust3ds and outdated infoIan Chamberlain-14/+12
2024-02-11Rollup merge of #120307 - djc:duration-constructors, r=Mark-SimulacrumMatthias Krüger-0/+9
core: add Duration constructors Add more `Duration` constructors. Tracking issue: #120301. These match similar convenience constructors available on both `chrono::Duration` and `time::Duration`. What's the best ordering for these with respect to the existing constructors?
2024-02-11separate link target from normal contentTshepang Mbambo-3/+5
2024-02-11fix sentenceTshepang Mbambo-3/+3
2024-02-10Some updates for recent diagnostics changes.Nicholas Nethercote-69/+71
2024-02-08Rename occurrences of 'delay_span_bug' to 'span_delayed_bug'Gurinder Singh-10/+9
since this method has been renamed in rustc. Also remove a link to documentation in error-guaranteed.md because it was unused
2024-02-07Rollup merge of #119162 - heiher:direct-access-external-data, r=petrochenkovGuillaume Boisseau-0/+16
Add unstable `-Z direct-access-external-data` cmdline flag for `rustc` The new flag has been described in the Major Change Proposal at https://github.com/rust-lang/compiler-team/issues/707 Fixes #118053
2024-02-07Rollup merge of #110482 - chrisnc:armv8r-target, r=wesleywiserGuillaume Boisseau-0/+43
Add armv8r-none-eabihf target for the Cortex-R52.
2024-02-07Update for upcoming markdown changes. (#1880)Eric Huss-5/+6
2024-02-06Document `async_fn_traits`Oli Scherer-0/+13
2024-02-05Update src/doc/rustc/src/platform-support.mdWesley Wiser-1/+1
2024-02-04Add an `armv8r-none-eabihf` target to support the Cortex-R52.Chris Copeland-0/+43
2024-02-01Extend "Attributes" section in the `re-exports` pageGuillaume Gomez-0/+29
2024-01-31Correct paths for hexagon-unknown-none-elf platform docBrian Cain-8/+9
Update the library paths to correctly refer to libdemo{1,2}_hexagon and switch to the release build instead. Update references to libstandalone to the specific G0/PIC archive instead.
2024-01-30Rollup merge of #120434 - fmease:revert-speeder, r=petrochenkovGuillaume Gomez-32/+0
Revert outdated version of "Add the wasm32-wasi-preview2 target" An outdated version of #119616 was merged in rollup #120309. This reverts those changes to enable #119616 to “retain the intended diff” after a rebase. ```@rylev``` has agreed that this would be the cleanest approach with respect to the history. Unblocks #119616. r? ```@petrochenkov``` or compiler or libs
2024-01-30Update uses of renamed BoxMeUp to PanicPayloadsyvb-10/+10
2024-01-30Add links for arena and interning. (#1868)Arthur Milchior-7/+13
Co-authored-by: Yuki Okushi <jtitor@2k36.org>
2024-01-30Improving macro expansion section (#1875)Arthur Milchior-9/+5
2024-01-30Replace letters by foo, bar and buz in lexing example (#1870)Arthur Milchior-2/+2
2024-01-30Fix some broken links (#1877)David Semakula-5/+5
2024-01-29Update booksrustbot-0/+0
2024-01-28Upgrade actions to use Node.js v20 (#1863)Yuki Okushi-5/+5
2024-01-28Fix some links (#1865)Yuki Okushi-26/+26
2024-01-28Add link in salsa (#1866)Arthur Milchior-2/+8
* Add link in salsa * Update src/salsa.md Co-authored-by: León Orell Valerian Liehr <me@fmease.dev> * Update src/salsa.md Co-authored-by: León Orell Valerian Liehr <me@fmease.dev> --------- Co-authored-by: León Orell Valerian Liehr <me@fmease.dev>
2024-01-28Clarify what rt.rs is. (#1876)Arthur Milchior-3/+4
Most files names are relatively explicit and probably don't need to be explicited. However `rt.rs` is really not clear, and I believe it clarifies the text to indicate this is runtime service implementation.