Skip to content

Commit d19b9b0

Browse files
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 c45c427 + fcce61c commit d19b9b0

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
@@ -3198,15 +3198,7 @@ impl Target {
31983198
return load_file(&p);
31993199
}
32003200

3201-
// Leave in a specialized error message for the removed target.
3202-
// FIXME: If you see this and it's been a few months after this has been released,
3203-
// you can probably remove it.
3204-
if target_tuple == "i586-pc-windows-msvc" {
3205-
Err("the `i586-pc-windows-msvc` target has been removed. Use the `i686-pc-windows-msvc` target instead.\n\
3206-
Windows 10 (the minimum required OS version) requires a CPU baseline of at least i686 so you can safely switch".into())
3207-
} else {
3208-
Err(format!("could not find specification for target {target_tuple:?}"))
3209-
}
3201+
Err(format!("could not find specification for target {target_tuple:?}"))
32103202
}
32113203
TargetTuple::TargetJson { ref contents, .. } => Target::from_json(contents),
32123204
}

0 commit comments

Comments
 (0)