add FIXME note on Builder::compiler_for

Signed-off-by: onur-ozkan <work@onurozkan.dev>
This commit is contained in:
onur-ozkan 2025-02-23 10:54:24 +00:00
parent 50f84129e6
commit 1c7b60f8a4

View file

@ -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,