Fix some tests for linux gnux32
This commit is contained in:
parent
dbcd1bec61
commit
e57ee3d0bf
7 changed files with 16 additions and 16 deletions
|
|
@ -73,7 +73,7 @@ pub fn get_env(triple: &str) -> Option<&str> {
|
|||
}
|
||||
|
||||
pub fn get_pointer_width(triple: &str) -> &'static str {
|
||||
if triple.contains("64") || triple.starts_with("s390x") {
|
||||
if (triple.contains("64") && !triple.ends_with("gnux32")) || triple.starts_with("s390x") {
|
||||
"64bit"
|
||||
} else {
|
||||
"32bit"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue