diff options
| author | Marco A L Barbosa <malbarbo@gmail.com> | 2017-10-19 15:49:59 -0200 |
|---|---|---|
| committer | Marco A L Barbosa <malbarbo@gmail.com> | 2017-10-20 13:18:16 -0200 |
| commit | e57ee3d0bf8d8b11feccab49432d4c5e8fc3a3ca (patch) | |
| tree | af1db29dc844adcecc14e0810f5ae1d4a19713ab /src/tools | |
| parent | dbcd1bec6150a259fea16ddae6c5881b4b676217 (diff) | |
| download | rust-e57ee3d0bf8d8b11feccab49432d4c5e8fc3a3ca.tar.gz rust-e57ee3d0bf8d8b11feccab49432d4c5e8fc3a3ca.zip | |
Fix some tests for linux gnux32
Diffstat (limited to 'src/tools')
| -rw-r--r-- | src/tools/compiletest/src/util.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/compiletest/src/util.rs b/src/tools/compiletest/src/util.rs index 85fa38bbd3b..bd4044b4df3 100644 --- a/src/tools/compiletest/src/util.rs +++ b/src/tools/compiletest/src/util.rs @@ -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" |
