Skip to content
This repository was archived by the owner on May 23, 2024. It is now read-only.

Commit 8993b78

Browse files
Fixed error on CI.
It was because `67019.sh` didn't have execute rights. Glacier did run scripts as if you entered `./script.sh` in your prompt, but that requires execute rights on the script. So I changed glacier to run `bash script.sh`, which only requires read rights. Also, shouldn't glacier emit the `+nightly` flag to rustc?
1 parent e36cfd9 commit 8993b78

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

ices/67019.sh

100644100755
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
rustc --edition 2018 -Z mir-opt-level=2 - << EOF
3+
rustc +nightly --edition 2018 -Z mir-opt-level=2 - << EOF
44
fn test(this: ((u8, u8),)) {
55
assert!((this.0).1 == 0);
66
}

src/lib.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ pub use rayon;
88

99
static RUSTC: &str = "rustc";
1010
static ICES_PATH: &str = "ices";
11+
static SHELL: &str = "bash";
1112

1213
#[derive(Debug, PartialEq, Eq, PartialOrd, Ord)]
1314
enum TestMode {
@@ -40,7 +41,8 @@ impl ICE {
4041
.arg(std::fs::canonicalize(&self.path)?)
4142
.current_dir(workdir.path())
4243
.output()?,
43-
TestMode::ShellScript => Command::new(std::fs::canonicalize(&self.path)?)
44+
TestMode::ShellScript => Command::new(SHELL)
45+
.arg(std::fs::canonicalize(&self.path)?)
4446
.current_dir(workdir.path())
4547
.output()?,
4648
};

0 commit comments

Comments
 (0)