Add comment noting the situation with target_os = "psx"
This commit is contained in:
parent
111f2e8a39
commit
afe605957f
1 changed files with 4 additions and 0 deletions
|
@ -14,6 +14,10 @@ pub(crate) fn target() -> Target {
|
|||
arch: "mips".into(),
|
||||
|
||||
options: TargetOptions {
|
||||
// The Playstation 1 is mostly bare-metal, but the BIOS does provide some a slight bit
|
||||
// of functionality post load, so we still declare it as `cfg!(target_os = "psx")`.
|
||||
//
|
||||
// See <https://github.com/rust-lang/rust/pull/131168> for details.
|
||||
os: "psx".into(),
|
||||
vendor: "sony".into(),
|
||||
linker_flavor: LinkerFlavor::Gnu(Cc::No, Lld::Yes),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue