This repository was archived by the owner on Mar 24, 2022. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -28,11 +28,11 @@ RUN update-alternatives --install /usr/bin/clang clang /usr/bin/clang-6.0 100
2828ENV LD_LIBRARY_PATH=/usr/local/lib
2929
3030RUN 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
3333ENV 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
3636RUN rustup target add wasm32-wasi
3737
3838RUN cargo install --debug cargo-audit cargo-watch rsign2
Original file line number Diff line number Diff line change @@ -10,8 +10,10 @@ cleanup() {
1010}
1111trap 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
1618fi
1719
Original file line number Diff line number Diff line change @@ -1198,5 +1198,4 @@ mod tests {
11981198 }
11991199 ) ;
12001200 }
1201-
12021201}
Original file line number Diff line number Diff 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 }
Original file line number Diff line number Diff line change 1- 1.36.0
1+ nightly-2019-09-25
You can’t perform that action at this time.
0 commit comments