rust/src
Chayim Refael Friedman df0873e888
Fix a small bug with catastrophic effects
The tiny bug was that `FnFlags::DEPRECTAED_SAFE_2024` and `FnFlags::RUSTC_ALLOW_INCOHERENT_IMPLS` were assigned the same value.

The catastrophic effect was that every function marked as `#[rustc_allow_incoherent_impl]` was considered safe-deprecated for edition 2024, which caused it to be considered unsafe to call when called from edition 2024. And that includes `<[_]>::into_vec()`, which is called by the `vec![]` macro. So, catastrophic effect.

This innocent-looking bug probably arose from the item tree rewrite. No review would've catch that!
2025-04-10 09:37:37 +03:00
..
bootstrap Rollup merge of #138233 - smmalis37:no-advapi32, r=ChrisDenton 2025-03-09 16:41:52 +01:00
build_helper Add post-merge analysis CI workflow 2025-03-07 09:43:52 +01:00
ci Rollup merge of #138013 - Kobzol:ci-post-merge-analysis, r=marcoieni 2025-03-07 21:57:51 -05:00
doc Rollup merge of #137957 - Noratrieb:no, r=wesleywiser 2025-03-07 21:57:50 -05:00
etc Rollup merge of #134063 - tgross35:dec2flt-refactoring, r=Noratrieb 2025-03-05 21:46:31 +08:00
gcc@48664a6cab Update gcc submodule 2025-02-26 09:23:52 +01:00
librustdoc doctests: build test bundle and harness separately 2025-03-10 01:47:36 +01:00
llvm-project@1c3bb96fdb Update to LLVM 20 rc 3 2025-02-27 09:34:19 +01:00
rustc-std-workspace update rustc-std-workspace crates 2024-11-04 07:45:15 +01:00
rustdoc-json-types Fix rustdoc and clippy 2025-02-24 14:31:19 +01:00
tools Fix a small bug with catastrophic effects 2025-04-10 09:37:37 +03:00
README.md
stage0 bump stage0 2025-02-18 08:51:01 -08:00
version Bump to version 1.87.0 2025-02-14 09:55:45 -08: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.