Skip to content

Commit

Permalink
Add support for alternative network stack io-sock on QNX 7.1 aarch64 …
Browse files Browse the repository at this point in the history
…and x86_64
  • Loading branch information
flba-eb committed Dec 3, 2024
1 parent afb6d60 commit a465ec6
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
24 changes: 24 additions & 0 deletions src/target/generated.rs
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,18 @@ pub(crate) const LIST: &[(&str, TargetInfo<'static>)] = &[
unversioned_llvm_target: "aarch64-unknown-unknown",
},
),
(
"aarch64-unknown-nto-qnx710_iosock",
TargetInfo {
full_arch: "aarch64",
arch: "aarch64",
vendor: "unknown",
os: "nto",
env: "nto71_iosock",
abi: "",
unversioned_llvm_target: "aarch64-unknown-unknown",
},
),
(
"aarch64-unknown-openbsd",
TargetInfo {
Expand Down Expand Up @@ -2896,6 +2908,18 @@ pub(crate) const LIST: &[(&str, TargetInfo<'static>)] = &[
unversioned_llvm_target: "x86_64-pc-unknown",
},
),
(
"x86_64-pc-nto-qnx710_iosock",
TargetInfo {
full_arch: "x86_64",
arch: "x86_64",
vendor: "pc",
os: "nto",
env: "nto71_iosock",
abi: "",
unversioned_llvm_target: "x86_64-pc-unknown",
},
),
(
"x86_64-pc-solaris",
TargetInfo {
Expand Down
3 changes: 2 additions & 1 deletion src/target/llvm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ pub(crate) fn guess_llvm_target_triple(
os => os,
};
let env = match env {
"newlib" | "nto70" | "nto71" | "ohos" | "p1" | "p2" | "relibc" | "sgx" | "uclibc" => "",
"newlib" | "nto70" | "nto71" | "nto71_iosock" | "ohos" | "p1" | "p2" | "relibc" | "sgx"
| "uclibc" => "",
env => env,
};
let abi = match abi {
Expand Down

0 comments on commit a465ec6

Please sign in to comment.