about summary refs log tree commit diff
path: root/src/bootstrap
diff options
context:
space:
mode:
authoronur-ozkan <work@onurozkan.dev>2025-02-23 10:54:24 +0000
committeronur-ozkan <work@onurozkan.dev>2025-02-23 16:05:51 +0300
commit1c7b60f8a4595efd1cef016582e6050b3cab9868 (patch)
tree620fd02ea4fd854b6e1c5e717b312583d4e171c7 /src/bootstrap
parent50f84129e66de867a735ee836339e8ed9dd7425e (diff)
downloadrust-1c7b60f8a4595efd1cef016582e6050b3cab9868.tar.gz
rust-1c7b60f8a4595efd1cef016582e6050b3cab9868.zip
add FIXME note on `Builder::compiler_for`
Signed-off-by: onur-ozkan <work@onurozkan.dev>
Diffstat (limited to 'src/bootstrap')
-rw-r--r--src/bootstrap/src/core/builder/mod.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/bootstrap/src/core/builder/mod.rs b/src/bootstrap/src/core/builder/mod.rs
index 25fa10e0811..9c04f097bee 100644
--- a/src/bootstrap/src/core/builder/mod.rs
+++ b/src/bootstrap/src/core/builder/mod.rs
@@ -1262,6 +1262,9 @@ impl<'a> Builder<'a> {
             ),
         ),
     )]
+
+    /// FIXME: This function is unnecessary (and dangerous, see <https://github.com/rust-lang/rust/issues/137469>).
+    /// We already have uplifting logic for the compiler, so remove this.
     pub fn compiler_for(
         &self,
         stage: u32,