diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d040fd2..f1d0cdd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,7 +8,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, macos-latest, windows-latest] - tc: [1.56.1, stable, beta, nightly] + tc: [1.70.0, stable, beta, nightly] steps: - uses: actions/checkout@v2 - uses: actions-rs/toolchain@v1 @@ -25,7 +25,7 @@ jobs: strategy: matrix: os: [ubuntu-latest] - tc: [1.56.1] + tc: [1.70.0] cc: - aarch64-linux-android - i686-pc-windows-gnu @@ -51,7 +51,7 @@ jobs: strategy: matrix: os: [macos-latest] - tc: [1.56.1] + tc: [1.70.0] cc: [aarch64-apple-ios] steps: - uses: actions/checkout@v2 diff --git a/Cargo.toml b/Cargo.toml index 15fbc87..577cace 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,6 +11,7 @@ name = "nucleide" version = "0.1.0" edition = "2021" +rust-version = "1.70" description = """ A crate to manipulate custom sections of a WebAssembly module to view/edit application metadata. diff --git a/examples/inspector.rs b/examples/inspector.rs index 091698b..f804575 100644 --- a/examples/inspector.rs +++ b/examples/inspector.rs @@ -6,8 +6,7 @@ use nucleide::{ fn main() { let path = env::args() - .skip(1) - .next() + .nth(1) .expect("Need to provide wasm file"); let bytes = fs::read(path).expect("Could not open file");