Skip to content

Commit 672c6b6

Browse files
authored
Rollup merge of #148819 - bjorn3:fix_fixme, r=jieyouxu
Remove specialized warning for removed target It has been removed 9 months ago, which is more than a few months.
2 parents 64b5637 + fcce61c commit 672c6b6

File tree

1 file changed

+1
-9
lines changed
  • compiler/rustc_target/src/spec

1 file changed

+1
-9
lines changed

compiler/rustc_target/src/spec/mod.rs

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3317,15 +3317,7 @@ impl Target {
33173317
return load_file(&p);
33183318
}
33193319

3320-
// Leave in a specialized error message for the removed target.
3321-
// FIXME: If you see this and it's been a few months after this has been released,
3322-
// you can probably remove it.
3323-
if target_tuple == "i586-pc-windows-msvc" {
3324-
Err("the `i586-pc-windows-msvc` target has been removed. Use the `i686-pc-windows-msvc` target instead.\n\
3325-
Windows 10 (the minimum required OS version) requires a CPU baseline of at least i686 so you can safely switch".into())
3326-
} else {
3327-
Err(format!("could not find specification for target {target_tuple:?}"))
3328-
}
3320+
Err(format!("could not find specification for target {target_tuple:?}"))
33293321
}
33303322
TargetTuple::TargetJson { ref contents, .. } => Target::from_json(contents),
33313323
}

0 commit comments

Comments
 (0)