Skip to content

Commit fcce61c

Browse files
committed
Remove specialized warning for removed target
It has been removed 9 months ago, which is more than a few months.
1 parent a7b3715 commit fcce61c

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
@@ -3194,15 +3194,7 @@ impl Target {
31943194
return load_file(&p);
31953195
}
31963196

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

0 commit comments

Comments
 (0)