Skip to content
This repository was archived by the owner on Aug 30, 2025. It is now read-only.

Commit f943379

Browse files
Install windows-targets' windows_x86_64_gnu crate to fix link errors with rust in naev-windows
1 parent 1900132 commit f943379

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99

1010
### v1.12.12
1111
- Update `naev-macos` to Fedora 42
12-
12+
- Install windows-targets' windows_x86_64_gnu crate to fix link errors with rust in `naev-windows`
13+
1314
### v1.12.11
1415
- Add xmltodict via pip as dependency
1516

naev-windows/Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ RUN microdnf update -y && \
2929
curl -L -O https://github.com/OpenMathLib/OpenBLAS/releases/download/v0.3.29/OpenBLAS-0.3.29_x64_64.zip && \
3030
unzip OpenBLAS-0.3.29_x64_64.zip -d /usr/x86_64-w64-mingw32/sys-root/mingw && \
3131
rm -rf OpenBLAS-0.3.29_x64_64.zip && \
32+
# Install windows-targets' windows_x86_64_gnu crate to fix link errors with rust
33+
curl -L https://crates.io/api/v1/crates/windows_x86_64_gnu/0.52.6/download | tar -xzf - && \
34+
cp windows_x86_64_gnu-0.52.6/lib/libwindows.0.52.0.a /usr/x86_64-w64-mingw32/sys-root/mingw/lib && \
35+
rm -rf windows_x86_64_gnu-0.52.6 && \
3236
# Install xmltodict for outfit generation
3337
python3 -m pip install xmltodict && \
3438
# Need Meson >=1.7.0 for rust_std=2024, but restrict to versions below 1.8.0.

0 commit comments

Comments
 (0)