Skip to content

Commit 3dba0d2

Browse files
committed
flake: cross-windows: Add mingw
> cargo build --target x86_64-pc-windows-gnu -p framework_tool error: failed to run custom build command for `framework_tool v0.6.1 (/home/zoid/clone/framework-system/framework_tool)` Caused by: process didn't exit successfully: `/home/zoid/clone/framework-system/target/debug/build/framework_tool-c329672d9ff2ef23/build-script-build` (exit status: 101) --- stderr thread 'main' (120396) panicked at framework_tool/build.rs:7:14: called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" } note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace warning: build failed, waiting for other jobs to finish... error: error calling dlltool 'x86_64-w64-mingw32-dlltool': No such file or directory (os error 2) Signed-off-by: Daniel Schaefer <dhs@frame.work>
1 parent 523de10 commit 3dba0d2

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

flake.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -336,6 +336,7 @@
336336
devShells.cross-windows = pkgs.mkShell {
337337
packages = [
338338
rustToolchainWindows
339+
mingw
339340
];
340341

341342
# Ensure build scripts (e.g. libgit2-sys) use the native host compiler

0 commit comments

Comments
 (0)