diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index c002e79..8b49e12 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -17,7 +17,7 @@ jobs: - uses: dtolnay/rust-toolchain@stable with: - targets: i686-pc-windows-msvc + targets: i686-pc-windows-msvc, x86_64-pc-windows-msvc components: rustfmt, clippy - uses: Swatinem/rust-cache@v2 @@ -31,6 +31,9 @@ jobs: - name: Build (release) (all features) run: cargo build --target i686-pc-windows-msvc --features all --locked --release + - name: Build 64 (release) (all features) + run: cargo build --target x86_64-pc-windows-msvc --features all --locked --release + - uses: actions/upload-artifact@v4 with: name: Windows Build @@ -39,6 +42,14 @@ jobs: target/i686-pc-windows-msvc/release/rust_g.pdb target/rust_g.dm + - uses: actions/upload-artifact@v4 + with: + name: Windows Build 64 + path: | + target/x86_64-pc-windows-msvc/release/rust_g.dll + target/x86_64-pc-windows-msvc/release/rust_g.pdb + target/rust_g.dm + build-linux: runs-on: ubuntu-latest env: diff --git a/src/lib.rs b/src/lib.rs index cabe59f..6382e00 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -50,6 +50,3 @@ pub mod unzip; pub mod url; #[cfg(feature = "worleynoise")] pub mod worleynoise; - -#[cfg(not(target_pointer_width = "32"))] -compile_error!("rust-g must be compiled for a 32-bit target");