diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2017-01-16 23:10:00 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2017-01-19 13:54:19 -0800 |
| commit | e8f9d2d43a190074d52a0df40725ebd2c0fb0a9e (patch) | |
| tree | 3119680164eca5ef18b4ad27d4b964b3f365c002 /src/bootstrap/sanity.rs | |
| parent | aedebfe77de30675826505572f36767e77dfba90 (diff) | |
| download | rust-e8f9d2d43a190074d52a0df40725ebd2c0fb0a9e.tar.gz rust-e8f9d2d43a190074d52a0df40725ebd2c0fb0a9e.zip | |
travis: Get an emscripten builder online
This commit adds a new entry to the Travis matrix which will execute emscripten test suites. Along the way it updates a few bits of the test suite to continue passing on emscripten, such as: * Ignoring i128/u128 tests as they're presumably just not working (didn't investigate as to why) * Disabling a few process tests (not working on emscripten) * Ignore some num tests in libstd (#39119) * Fix some warnings when compiling
Diffstat (limited to 'src/bootstrap/sanity.rs')
| -rw-r--r-- | src/bootstrap/sanity.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bootstrap/sanity.rs b/src/bootstrap/sanity.rs index 66bdd5e00f4..8e79c2d27d1 100644 --- a/src/bootstrap/sanity.rs +++ b/src/bootstrap/sanity.rs @@ -45,7 +45,7 @@ pub fn check(build: &mut Build) { let target = path.join(cmd); let mut cmd_alt = cmd.to_os_string(); cmd_alt.push(".exe"); - if target.exists() || + if target.is_file() || target.with_extension("exe").exists() || target.join(cmd_alt).exists() { return Some(target); |
