Skip to content

Commit e961d60

Browse files
committed
Build nightly to fix CI
1 parent 0d3efa5 commit e961d60

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

circle.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ jobs:
99
- run:
1010
name: Update rustc
1111
command: |
12-
rustup target add wasm32-unknown-unknown
12+
rustup install nightly-x86_64-unknown-linux-gnu
13+
rustup target add wasm32-unknown-unknown --toolchain nightly
1314
rustup component add rustfmt-preview
1415
rustup update
1516
- run:
@@ -20,7 +21,7 @@ jobs:
2021
git diff --exit-code
2122
- run:
2223
name: Test
23-
command: cargo test --target=x86_64-unknown-linux-gnu
24+
command: cargo +nightly test --target=x86_64-unknown-linux-gnu
2425
- run:
25-
name: Build
26-
command: cargo build --release
26+
name: Build Nightly
27+
command: cargo +nightly build --release

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -540,7 +540,7 @@ pub fn returndata_size() -> usize {
540540

541541
/// Halts execution, reverts all changes to the state and consumes all gas.
542542
pub fn abort() -> ! {
543-
/// TODO: use assembly block with `unreachable`
543+
// TODO: use assembly block with `unreachable`
544544
panic!()
545545
}
546546

0 commit comments

Comments
 (0)