Skip to content

Commit 4d7cb84

Browse files
committed
Fix target_os for mipsel-sony-psx
Previously set to `target_os = "none"` and `target_env = "psx"`, but although the Playstation 1 is _close_ to a bare metal target in some regards, it's still very much an operating system, so we should set `target_os = "psx"`. This also matches the `mipsel-sony-psp` target, which sets `target_os = "psp"`.
1 parent 612796c commit 4d7cb84

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

compiler/rustc_target/src/spec/targets/mipsel_sony_psx.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@ pub(crate) fn target() -> Target {
1414
arch: "mips".into(),
1515

1616
options: TargetOptions {
17-
os: "none".into(),
18-
env: "psx".into(),
17+
os: "psx".into(),
1918
vendor: "sony".into(),
2019
linker_flavor: LinkerFlavor::Gnu(Cc::No, Lld::Yes),
2120
cpu: "mips1".into(),

0 commit comments

Comments
 (0)