diff --git a/.cargo/config.toml b/.cargo/config.toml new file mode 100644 index 0000000..16c7ebd --- /dev/null +++ b/.cargo/config.toml @@ -0,0 +1,2 @@ +[build] +target = ["x86_64-pc-windows-gnu", "x86_64-unknown-linux-gnu"] diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 10c94a8..d1b99f6 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -17,8 +17,8 @@ jobs: steps: - uses: actions/checkout@v3 - name: Build - run: cargo build --verbose + run: cargo build --verbose --target=x86_64-unknown-linux-gnu - name: Run tests - run: cargo test --verbose + run: cargo test --verbose --target=x86_64-unknown-linux-gnu - name: Run clippy - run: cargo clippy --verbose + run: cargo clippy --verbose --target=x86_64-unknown-linux-gnu