Skip to content

Commit

Permalink
Alphabetize
Browse files Browse the repository at this point in the history
  • Loading branch information
tamird committed Mar 26, 2015
1 parent 2790184 commit 71386e5
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions src/compiletest/util.rs
Expand Up @@ -13,33 +13,33 @@ use common::Config;

/// Conversion table from triple OS name to Rust SYSNAME
const OS_TABLE: &'static [(&'static str, &'static str)] = &[
("mingw32", "windows"),
("win32", "windows"),
("windows", "windows"),
("darwin", "macos"),
("android", "android"),
("linux", "linux"),
("freebsd", "freebsd"),
("dragonfly", "dragonfly"),
("bitrig", "bitrig"),
("darwin", "macos"),
("dragonfly", "dragonfly"),
("freebsd", "freebsd"),
("linux", "linux"),
("mingw32", "windows"),
("openbsd", "openbsd"),
("win32", "windows"),
("windows", "windows"),
];

const ARCH_TABLE: &'static [(&'static str, &'static str)] = &[
("i386", "x86"),
("i686", "x86"),
("aarch64", "aarch64"),
("amd64", "x86_64"),
("x86_64", "x86_64"),
("sparc", "sparc"),
("powerpc", "powerpc"),
("arm64", "aarch64"),
("arm", "arm"),
("aarch64", "aarch64"),
("arm64", "aarch64"),
("hexagon", "hexagon"),
("i386", "x86"),
("i686", "x86"),
("mips", "mips"),
("xcore", "xcore"),
("msp430", "msp430"),
("hexagon", "hexagon"),
("powerpc", "powerpc"),
("s390x", "systemz"),
("sparc", "sparc"),
("x86_64", "x86_64"),
("xcore", "xcore"),
];

pub fn get_os(triple: &str) -> &'static str {
Expand Down

0 comments on commit 71386e5

Please sign in to comment.