File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1919jobs :
2020 check :
2121 name : check
22- runs-on : ubuntu -latest
22+ runs-on : windows -latest
2323 steps :
24- - name : Install Mingw-w64
25- shell : bash
26- run : sudo apt install -y --no-install-recommends gcc-mingw-w64-i686
27-
2824 - name : Checkout repository
2925 uses : actions/checkout@v4
3026
3834
3935 - name : Run cargo check
4036 shell : bash
41- run : RUSTFLAGS="-D warnings" cargo check --workspace
37+ run : RUSTFLAGS="-D warnings" cargo check --workspace --target 'i686-pc-windows-msvc'
Original file line number Diff line number Diff line change 2222jobs :
2323 release :
2424 name : release
25- runs-on : ubuntu -latest
25+ runs-on : windows -latest
2626 steps :
2727 - name : Get release information
2828 id : info
5858 echo "prerelease=$prerelease" >> $GITHUB_OUTPUT
5959 shell : bash
6060
61- - name : Install Mingw-w64
62- shell : bash
63- run : sudo apt install -y --no-install-recommends gcc-mingw-w64-i686
64-
6561 - name : Checkout repository
6662 uses : actions/checkout@v4
6763
7066 run : rustup show
7167
7268 - name : Build release binary
73- run : cargo build --verbose --release
69+ run : cargo build --verbose --release --target 'i686-pc-windows-msvc'
7470 shell : bash
7571
7672 - name : Build archive
Original file line number Diff line number Diff line change @@ -12,5 +12,6 @@ pub(crate) type Error = Box<dyn std::error::Error + Send + Sync + 'static>;
1212pub ( crate ) type Result < T > = std:: result:: Result < T , Error > ;
1313
1414/// https://github.com/rust-lang/rust/issues/79609
15+ #[ cfg( target_env = "gnu" ) ]
1516#[ unsafe( no_mangle) ]
1617pub extern "C" fn _Unwind_Resume ( ) { }
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ const VERSION: &str = env!("CARGO_PKG_VERSION");
1212///
1313/// needed in the patcher, because overrides cannot be specified per-package
1414/// (yet)
15+ #[ cfg( target_env = "gnu" ) ]
1516#[ unsafe( no_mangle) ]
1617pub extern "C" fn _Unwind_Resume ( ) { }
1718
Original file line number Diff line number Diff line change 11[toolchain ]
22channel = " 1.88.0"
33profile = " default"
4- targets = [" i686-pc-windows-gnu" ]
4+ targets = [" i686-pc-windows-gnu" , " i686-pc-windows-msvc " ]
You can’t perform that action at this time.
0 commit comments