From 1ef529db4ad50b5a9672c72f80d61d0c70f677ba Mon Sep 17 00:00:00 2001 From: Makai Date: Wed, 17 Jun 2026 20:49:10 +0800 Subject: [PATCH] Rename `project-stable-mir` to `project-rustc-public` --- compiler/rustc_public/README.md | 2 +- compiler/rustc_public/src/lib.rs | 2 +- compiler/rustc_public/src/rustc_internal/pretty.rs | 2 +- compiler/rustc_public_bridge/src/lib.rs | 2 +- library/core/src/intrinsics/mir.rs | 2 +- tests/ui/rustc_public-ir-print/async-closure.stdout | 2 +- tests/ui/rustc_public-ir-print/basic_function.stdout | 2 +- tests/ui/rustc_public-ir-print/operands.stdout | 2 +- triagebot.toml | 4 ++-- 9 files changed, 10 insertions(+), 10 deletions(-) diff --git a/compiler/rustc_public/README.md b/compiler/rustc_public/README.md index ab2546e377ae6..e0bf562d00614 100644 --- a/compiler/rustc_public/README.md +++ b/compiler/rustc_public/README.md @@ -4,7 +4,7 @@ Our goal is to start publishing `stable_mir` into crates.io. Until then, users will use this as any other rustc crate, by installing the rustup component `rustc-dev`, and declaring `stable-mir` as an external crate. -See the StableMIR ["Getting Started"](https://rust-lang.github.io/project-stable-mir/getting-started.html) +See the StableMIR ["Getting Started"](https://rust-lang.github.io/rustc_public/getting-started.html) guide for more information. ## Stable MIR Design diff --git a/compiler/rustc_public/src/lib.rs b/compiler/rustc_public/src/lib.rs index be4886b8cceeb..5b7e1580532a8 100644 --- a/compiler/rustc_public/src/lib.rs +++ b/compiler/rustc_public/src/lib.rs @@ -1,6 +1,6 @@ //! The WIP public interface to rustc internals. //! -//! For more information see +//! For more information see //! //! # Note //! diff --git a/compiler/rustc_public/src/rustc_internal/pretty.rs b/compiler/rustc_public/src/rustc_internal/pretty.rs index 83522e5197783..99357429b4a3b 100644 --- a/compiler/rustc_public/src/rustc_internal/pretty.rs +++ b/compiler/rustc_public/src/rustc_internal/pretty.rs @@ -11,7 +11,7 @@ pub fn write_smir_pretty<'tcx, W: io::Write>(tcx: TyCtxt<'tcx>, w: &mut W) -> io )?; writeln!( w, - "// If you find a bug or want to improve the output open a issue at https://github.com/rust-lang/project-stable-mir." + "// If you find a bug or want to improve the output open a issue at https://github.com/rust-lang/rustc_public." )?; let _ = run(tcx, || { let items = crate::all_local_items(); diff --git a/compiler/rustc_public_bridge/src/lib.rs b/compiler/rustc_public_bridge/src/lib.rs index dd5a3601b3232..d598f88a00d27 100644 --- a/compiler/rustc_public_bridge/src/lib.rs +++ b/compiler/rustc_public_bridge/src/lib.rs @@ -5,7 +5,7 @@ //! This crate is not intended to be invoked directly by users. //! This crate is the public API of rustc that will be invoked by the `rustc_public` crate. //! -//! For more information see +//! For more information see //! //! # Note //! diff --git a/library/core/src/intrinsics/mir.rs b/library/core/src/intrinsics/mir.rs index 183db46c6405e..dce7bf681a7af 100644 --- a/library/core/src/intrinsics/mir.rs +++ b/library/core/src/intrinsics/mir.rs @@ -4,7 +4,7 @@ //! this feature, turn back. This is *exceptionally* unstable. There is no attempt at all to make //! anything work besides those things which the rustc test suite happened to need. If you make a //! typo you'll probably ICE. Really, this is not the solution to your problems. Consider instead -//! supporting the [stable MIR project group](https://github.com/rust-lang/project-stable-mir). +//! supporting the [rustc public project group](https://github.com/rust-lang/rustc_public). //! //! The documentation for this module describes how to use this feature. If you are interested in //! hacking on the implementation, most of that documentation lives at diff --git a/tests/ui/rustc_public-ir-print/async-closure.stdout b/tests/ui/rustc_public-ir-print/async-closure.stdout index 8a473d52fff3c..efdc33f1b0579 100644 --- a/tests/ui/rustc_public-ir-print/async-closure.stdout +++ b/tests/ui/rustc_public-ir-print/async-closure.stdout @@ -1,5 +1,5 @@ // WARNING: This is highly experimental output it's intended for rustc_public developers only. -// If you find a bug or want to improve the output open a issue at https://github.com/rust-lang/project-stable-mir. +// If you find a bug or want to improve the output open a issue at https://github.com/rust-lang/rustc_public. fn foo() -> () { let mut _0: (); let _1: i32; diff --git a/tests/ui/rustc_public-ir-print/basic_function.stdout b/tests/ui/rustc_public-ir-print/basic_function.stdout index dc885e009e914..1159b94818d06 100644 --- a/tests/ui/rustc_public-ir-print/basic_function.stdout +++ b/tests/ui/rustc_public-ir-print/basic_function.stdout @@ -1,5 +1,5 @@ // WARNING: This is highly experimental output it's intended for rustc_public developers only. -// If you find a bug or want to improve the output open a issue at https://github.com/rust-lang/project-stable-mir. +// If you find a bug or want to improve the output open a issue at https://github.com/rust-lang/rustc_public. fn foo(_1: i32) -> i32 { let mut _0: i32; let mut _2: i32; diff --git a/tests/ui/rustc_public-ir-print/operands.stdout b/tests/ui/rustc_public-ir-print/operands.stdout index 58f229be2e6e2..c8d31c6339cf2 100644 --- a/tests/ui/rustc_public-ir-print/operands.stdout +++ b/tests/ui/rustc_public-ir-print/operands.stdout @@ -1,5 +1,5 @@ // WARNING: This is highly experimental output it's intended for rustc_public developers only. -// If you find a bug or want to improve the output open a issue at https://github.com/rust-lang/project-stable-mir. +// If you find a bug or want to improve the output open a issue at https://github.com/rust-lang/rustc_public. fn operands(_1: u8) -> () { let mut _0: (); let _2: [u8; 10]; diff --git a/triagebot.toml b/triagebot.toml index c8fb0b24b265e..d19e262dfd099 100644 --- a/triagebot.toml +++ b/triagebot.toml @@ -1639,14 +1639,14 @@ dep-bumps = [ "/compiler/rustc_const_eval/src/interpret" = ["compiler", "mir"] "/compiler/rustc_mir_build/src/builder" = ["compiler", "mir"] "/compiler/rustc_mir_transform" = ["compiler", "mir", "mir-opt"] -"/compiler/rustc_public_bridge" = ["project-stable-mir"] +"/compiler/rustc_public_bridge" = ["project-rustc-public"] "/compiler/rustc_parse" = ["compiler", "parser"] "/compiler/rustc_parse/src/lexer" = ["compiler", "lexer"] "/compiler/rustc_query_impl" = ["compiler", "query-system"] "/compiler/rustc_trait_selection" = ["compiler", "types"] "/compiler/rustc_traits" = ["compiler", "types"] "/compiler/rustc_type_ir" = ["compiler", "types"] -"/compiler/rustc_public" = ["project-stable-mir"] +"/compiler/rustc_public" = ["project-rustc-public"] "/library/alloc" = ["libs"] "/library/alloctests" = ["libs"] "/library/core" = ["libs"]