Skip to content

Commit

Permalink
Build nightly to fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
jakelang committed Apr 12, 2019
1 parent 0d3efa5 commit e961d60
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ jobs:
- run:
name: Update rustc
command: |
rustup target add wasm32-unknown-unknown
rustup install nightly-x86_64-unknown-linux-gnu
rustup target add wasm32-unknown-unknown --toolchain nightly
rustup component add rustfmt-preview
rustup update
- run:
Expand All @@ -20,7 +21,7 @@ jobs:
git diff --exit-code
- run:
name: Test
command: cargo test --target=x86_64-unknown-linux-gnu
command: cargo +nightly test --target=x86_64-unknown-linux-gnu
- run:
name: Build
command: cargo build --release
name: Build Nightly
command: cargo +nightly build --release
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,7 @@ pub fn returndata_size() -> usize {

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

Expand Down

0 comments on commit e961d60

Please sign in to comment.