promote ohos targets to tier to with host tools
This commit is contained in:
parent
fd17deacce
commit
6324b39873
10 changed files with 54 additions and 16 deletions
|
@ -241,7 +241,7 @@ fn main() {
|
|||
println!("cargo:rustc-link-lib=kstat");
|
||||
}
|
||||
|
||||
if (target.starts_with("arm") && !target.contains("freebsd"))
|
||||
if (target.starts_with("arm") && !target.contains("freebsd")) && !target.contains("ohos")
|
||||
|| target.starts_with("mips-")
|
||||
|| target.starts_with("mipsel-")
|
||||
|| target.starts_with("powerpc-")
|
||||
|
@ -371,6 +371,7 @@ fn main() {
|
|||
|| target.contains("freebsd")
|
||||
|| target.contains("windows-gnullvm")
|
||||
|| target.contains("aix")
|
||||
|| target.contains("ohos")
|
||||
{
|
||||
"c++"
|
||||
} else if target.contains("netbsd") && llvm_static_stdcpp.is_some() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue