Skip to content

Commit cf6859d

Browse files
committed
Add x64 build
1 parent 1f501d3 commit cf6859d

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

.github/workflows/rust.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515

1616
- uses: dtolnay/rust-toolchain@stable
1717
with:
18-
targets: i686-pc-windows-msvc
18+
targets: i686-pc-windows-msvc, x86_64-pc-windows-msvc
1919
components: rustfmt, clippy
2020

2121
- uses: Swatinem/rust-cache@v2
@@ -29,6 +29,9 @@ jobs:
2929
- name: Build (release) (all features)
3030
run: cargo build --target i686-pc-windows-msvc --features all --locked --release
3131

32+
- name: Build 64 (release) (all features)
33+
run: cargo build --target x86_64-pc-windows-msvc --features all --locked --release
34+
3235
- uses: actions/upload-artifact@v4
3336
with:
3437
name: Windows Build
@@ -37,6 +40,14 @@ jobs:
3740
target/i686-pc-windows-msvc/release/rust_g.pdb
3841
target/rust_g.dm
3942
43+
- uses: actions/upload-artifact@v4
44+
with:
45+
name: Windows Build 64
46+
path: |
47+
target/x86_64-pc-windows-msvc/release/rust_g.dll
48+
target/x86_64-pc-windows-msvc/release/rust_g.pdb
49+
target/rust_g.dm
50+
4051
build-linux:
4152
runs-on: ubuntu-latest
4253
env:

src/lib.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,3 @@ pub mod unzip;
5050
pub mod url;
5151
#[cfg(feature = "worleynoise")]
5252
pub mod worleynoise;
53-
54-
#[cfg(not(target_pointer_width = "32"))]
55-
compile_error!("rust-g must be compiled for a 32-bit target");

0 commit comments

Comments
 (0)