Skip to content
This repository was archived by the owner on Mar 24, 2022. It is now read-only.

Commit 2816636

Browse files
authored
Merge pull request #315 from fastly/acf/nightly
Switch to nightly-2019-09-25, the most recent with all components
2 parents 571303e + 724bf32 commit 2816636

5 files changed

Lines changed: 9 additions & 7 deletions

File tree

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@ RUN update-alternatives --install /usr/bin/clang clang /usr/bin/clang-6.0 100
2828
ENV LD_LIBRARY_PATH=/usr/local/lib
2929

3030
RUN curl https://sh.rustup.rs -sSf | \
31-
sh -s -- --default-toolchain 1.36.0 -y && \
31+
sh -s -- --default-toolchain nightly-2019-09-25 -y && \
3232
/root/.cargo/bin/rustup update nightly
3333
ENV PATH=/root/.cargo/bin:$PATH
3434

35-
RUN rustup component add rustfmt --toolchain 1.36.0-x86_64-unknown-linux-gnu
35+
RUN rustup component add rustfmt --toolchain nightly-2019-09-25-x86_64-unknown-linux-gnu
3636
RUN rustup target add wasm32-wasi
3737

3838
RUN cargo install --debug cargo-audit cargo-watch rsign2

helpers/indent.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,10 @@ cleanup() {
1010
}
1111
trap cleanup 1 2 3 6 15
1212

13-
if ! rustfmt --version | grep -q "rustfmt 1.2.2-stable"; then
14-
echo "indent requires rustfmt 1.2.2-stable"
13+
RUSTFMT_VERSION=1.4.8-nightly
14+
15+
if ! rustfmt --version | grep -q "rustfmt $RUSTFMT_VERSION"; then
16+
echo "indent requires rustfmt $RUSTFMT_VERSION"
1517
exit 1
1618
fi
1719

lucet-idl/src/parser.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1198,5 +1198,4 @@ mod tests {
11981198
}
11991199
);
12001200
}
1201-
12021201
}

lucetc/src/module.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,8 @@ impl<'a> ModuleEnvironment<'a> for ModuleInfo<'a> {
369369
self.tables.push(Exportable::new(table));
370370
vac.insert(vec![table_elems]);
371371
} else {
372-
panic!("creation of elements for undeclared table! only table 0 is implicitly declared") // Do we implicitly declare them all???? i sure hope not
372+
panic!("creation of elements for undeclared table! only table 0 is implicitly declared")
373+
// Do we implicitly declare them all???? i sure hope not
373374
}
374375
}
375376
}

rust-toolchain

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.36.0
1+
nightly-2019-09-25

0 commit comments

Comments
 (0)