diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index f1cfb25..c0d84b0 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -20,6 +20,8 @@ jobs: run: | sudo apt-get update sudo apt-get install -y gcc-aarch64-linux-gnu + - name: Install Rust Toolchains + run: rustup target add x86_64-unknown-linux-gnu aarch64-unknown-linux-gnu - name: Run tests run: cargo test --verbose - name: Build @@ -33,6 +35,8 @@ jobs: steps: - uses: actions/checkout@v4 + - name: Install Rust Toolchains + run: rustup target add x86_64-pc-windows-msvc - name: Run tests run: cargo test --verbose - name: Build @@ -45,6 +49,8 @@ jobs: steps: - uses: actions/checkout@v4 + - name: Install Rust Toolchains + run: rustup target add x86_64-apple-darwin aarch64-apple-darwin - name: Run tests run: cargo test --verbose - name: Build diff --git a/rust-toolchain.toml b/rust-toolchain.toml index fd741d3..749f19c 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -2,11 +2,4 @@ # The default profile includes rustc, rust-std, cargo, rust-docs, rustfmt and clippy. # https://rust-lang.github.io/rustup/concepts/profiles.html profile = "default" -targets = [ - "x86_64-unknown-linux-gnu", - "aarch64-unknown-linux-gnu", - "x86_64-pc-windows-msvc", - "aarch64-apple-darwin", - "x86_64-apple-darwin" -] channel = "1.82"