rust/src
Matthias Krüger cbf7f80d5c
Rollup merge of #143555 - obi1kenobi:pg/target-feature-not-unsafe-rustdoc-json, r=aDotInTheVoid
Don't mark `#[target_feature]` safe fns as unsafe in rustdoc JSON.

Fixes https://github.com/rust-lang/rust/issues/142655 by explicitly checking whether functions are safe but using `#[target_feature]`, instead of relying on the `FnHeader::is_unsafe()` method which considers such functions unsafe.

I don't believe this merits a bump of the rustdoc JSON `FORMAT_VERSION` constant, since the format is unchanged and this is just a small bugfix.

r? aDotInTheVoid
2025-07-08 19:29:38 +02:00
..
bootstrap Add change tracker entry for disabling download-rustc temporarily 2025-07-07 19:30:37 +08:00
build_helper Improve error message for rustdoc_json_types tidy check 2025-06-20 16:22:05 +02:00
ci Rollup merge of #143415 - Gelbpunkt:cleanup-dist-ppc64le-toolchain, r=marcoieni 2025-07-07 19:45:39 +08:00
doc Rollup merge of #143566 - jieyouxu:fix-x86_64-unknown-netbsd, r=fee1-dead 2025-07-07 19:55:34 +02:00
etc Update completions 2025-07-04 22:10:02 +02:00
gcc@04ce66d8c9 Update src/gcc submodule to 04ce66d8c918de9273bd7101638ad8724edf5e21 2025-05-14 18:02:02 +02:00
librustdoc Rollup merge of #143555 - obi1kenobi:pg/target-feature-not-unsafe-rustdoc-json, r=aDotInTheVoid 2025-07-08 19:29:38 +02:00
llvm-project@9b1bf4cf04 Update LLVM submodule 2025-07-04 23:05:40 +08:00
rustc-std-workspace
rustdoc-json-types Port #[no_mangle] to new attribute parsing infrastructure 2025-06-22 22:17:04 +02:00
tools Auto merge of #134628 - estebank:const-default, r=oli-obk 2025-07-08 14:04:40 +00:00
README.md
stage0 Update stage0 to 1.89.0-beta.1 2025-07-01 10:54:33 -07:00
version Bump the version number to 1.90.0 2025-06-20 10:08:52 -07:00

This directory contains some source code for the Rust project, including:

  • The bootstrapping build system
  • Various submodules for tools, like cargo, tidy, etc.

For more information on how various parts of the compiler work, see the rustc dev guide.