Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/targets.rs
Original file line number Diff line number Diff line change
Expand Up @@ -745,6 +745,7 @@ pub enum OperatingSystem {
Openbsd,
Psp,
Redox,
Toyos,
Solaris,
SolidAsp3,
TvOS(Option<DeploymentTarget>),
Expand Down Expand Up @@ -808,6 +809,7 @@ impl OperatingSystem {
Openbsd => Cow::Borrowed("openbsd"),
Psp => Cow::Borrowed("psp"),
Redox => Cow::Borrowed("redox"),
Toyos => Cow::Borrowed("toyos"),
Solaris => Cow::Borrowed("solaris"),
SolidAsp3 => Cow::Borrowed("solid_asp3"),
TvOS(deployment_target) => darwin_version("tvos", deployment_target),
Expand Down Expand Up @@ -1664,6 +1666,7 @@ impl FromStr for OperatingSystem {
"openbsd" => Openbsd,
"psp" => Psp,
"redox" => Redox,
"toyos" => Toyos,
"solaris" => Solaris,
"solid_asp3" => SolidAsp3,
"uefi" => Uefi,
Expand Down
3 changes: 2 additions & 1 deletion src/triple.rs
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,8 @@ impl Triple {
| OperatingSystem::Netbsd
| OperatingSystem::Openbsd
| OperatingSystem::Redox
| OperatingSystem::Solaris => CallingConvention::SystemV,
| OperatingSystem::Solaris
| OperatingSystem::Toyos => CallingConvention::SystemV,
OperatingSystem::Windows => CallingConvention::WindowsFastcall,
OperatingSystem::Zos => CallingConvention::ZosXplink64,
OperatingSystem::Nebulet
Expand Down
Loading