tools: Add squiid target
Signed-off-by: Christoph Heiss <contact@christoph-heiss.at>
This commit is contained in:
parent
9270463e45
commit
aaa8fb6197
|
@ -152,6 +152,7 @@ static TARGETS: &[&str] = &[
|
|||
"x86_64-unknown-netbsd",
|
||||
"x86_64-unknown-none",
|
||||
"x86_64-unknown-redox",
|
||||
"x86_64-unknown-squiid",
|
||||
"x86_64-unknown-hermit",
|
||||
"x86_64-unknown-uefi",
|
||||
];
|
||||
|
|
|
@ -34,6 +34,7 @@ static UNIX_SYSTEMS: &[&str] = &[
|
|||
"netbsd",
|
||||
"openbsd",
|
||||
"redox",
|
||||
"squiid",
|
||||
"solaris",
|
||||
"vxworks",
|
||||
];
|
||||
|
|
|
@ -45,6 +45,9 @@ fn l4re() {}
|
|||
#[cfg(target_os = "redox")]
|
||||
fn redox() {}
|
||||
|
||||
#[cfg(target_os = "squiid")]
|
||||
fn squiid() {}
|
||||
|
||||
#[cfg(target_os = "solaris")]
|
||||
fn solaris() {}
|
||||
|
||||
|
|
|
@ -45,6 +45,9 @@ fn l4re() {}
|
|||
#[cfg(redox)]
|
||||
fn redox() {}
|
||||
|
||||
#[cfg(squiid)]
|
||||
fn squiid() {}
|
||||
|
||||
#[cfg(solaris)]
|
||||
fn solaris() {}
|
||||
|
||||
|
|
|
@ -139,6 +139,16 @@ LL | #[cfg(redox)]
|
|||
|
|
||||
= help: did you mean `unix`?
|
||||
|
||||
error: operating system used in target family position
|
||||
--> $DIR/mismatched_target_os_unix.rs:45:1
|
||||
|
|
||||
LL | #[cfg(squiid)]
|
||||
| ^^^^^^-----^^
|
||||
| |
|
||||
| help: try: `target_os = "squiid"`
|
||||
|
|
||||
= help: did you mean `unix`?
|
||||
|
||||
error: operating system used in target family position
|
||||
--> $DIR/mismatched_target_os_unix.rs:48:1
|
||||
|
|
||||
|
|
Loading…
Reference in a new issue