I’m trying to cross compile some Rust application to Windows without using the nix build system so I can take advantage of the incremental compilation via devShells.
This application requires that I compiles to i686-pc-windows-gnu. Looking at their GitHub workflow, the only dependency they’ve installed is gcc-mingw-w64-i686 through apt. My problem is that, what is the equivalent of that package in Nix?
Without adding anything at all, the error message is
error: error calling dlltool 'i686-w64-mingw32-dlltool': No such file or directory (os error 2)
I’ve tried a few things but the first package that make some progress is
pkgs.pkgsCross.mingw-msvcrt-i686.buildPackages.gcc
Then I hit with the error
error: linking with `i686-w64-mingw32-gcc` failed: exit status: 1
|
= note: "i686-w64-mingw32-gcc" "-Wl,/home/peach/code-projects/noita_entangled_worlds/ewext/target/i686-pc-windows-gnu/release/deps/rustc1RtNxm/list.def" "-fno-use-linker-plugin" "-Wl,--dynamicbase" "-Wl,--disable-auto-image-base" "-Wl,--large-address-aware" "<sysroot>/lib/rustlib/i686-pc-windows-gnu/lib/rsbegin.o" "<1 object files omitted>" "-Wl,-Bstatic" "/home/peach/code-projects/noita_entangled_worlds/ewext/target/i686-pc-windows-gnu/release/deps/rustc1RtNxm/{libgetrandom-44ceb6cc5c517428,liblibloading-f5dc22747605714e,libstd-246a1e027a2e9cea}.rlib" "/home/peach/code-projects/noita_entangled_worlds/ewext/target/i686-pc-windows-gnu/release/deps/libcompiler_builtins-90c2a00ecbe05553.rlib" "-Wl,-Bdynamic" "-lkernel32" "-lkernel32" "-lkernel32" "-lntdll" "-luserenv" "-lws2_32" "-ldbghelp" "-lgcc_eh" "-l:libpthread.a" "-lmsvcrt" "-lmingwex" "-lmingw32" "-lgcc" "-lmsvcrt" "-lmingwex" "-luser32" "-lkernel32" "-Wl,--nxcompat" "-o" "/home/peach/code-projects/noita_entangled_worlds/ewext/target/i686-pc-windows-gnu/release/deps/ewext.dll" "-Wl,--gc-sections" "-shared" "-Wl,--out-implib=/home/peach/code-projects/noita_entangled_worlds/ewext/target/i686-pc-windows-gnu/release/deps/libewext.dll.a" "-Wl,-O1" "-Wl,--strip-debug" "-nodefaultlibs" "<sysroot>/lib/rustlib/i686-pc-windows-gnu/lib/rsend.o"
= note: some arguments are omitted. use `--verbose` to show all linker arguments
= note: /nix/store/8fzv58m3yvsq1rynmv7qlgzp1gmap16d-i686-w64-mingw32-binutils-2.44/bin/i686-w64-mingw32-ld: cannot find -l:libpthread.a: No such file or directory
collect2: error: ld returned 1 exit status
I used nix-locate to find libpthread.a. What seems to work is
pkgs.pkgsCross.mingw-msvcrt-i686.buildPackages.musl
And I’m hit with another error
error: linking with `i686-w64-mingw32-gcc` failed: exit status: 1
|
= note: "i686-w64-mingw32-gcc" "-Wl,/home/peach/code-projects/noita_entangled_worlds/ewext/target/i686-pc-windows-gnu/release/deps/rustcp9SF3f/list.def" "-fno-use-linker-plugin" "-Wl,--dynamicbase" "-Wl,--disable-auto-image-base" "-Wl,--large-address-aware" "<sysroot>/lib/rustlib/i686-pc-windows-gnu/lib/rsbegin.o" "<1 object files omitted>" "-Wl,-Bstatic" "/home/peach/code-projects/noita_entangled_worlds/ewext/target/i686-pc-windows-gnu/release/deps/rustcp9SF3f/{libgetrandom-44ceb6cc5c517428,liblibloading-f5dc22747605714e,libstd-246a1e027a2e9cea}.rlib" "/home/peach/code-projects/noita_entangled_worlds/ewext/target/i686-pc-windows-gnu/release/deps/libcompiler_builtins-90c2a00ecbe05553.rlib" "-Wl,-Bdynamic" "-lkernel32" "-lkernel32" "-lkernel32" "-lntdll" "-luserenv" "-lws2_32" "-ldbghelp" "-lgcc_eh" "-l:libpthread.a" "-lmsvcrt" "-lmingwex" "-lmingw32" "-lgcc" "-lmsvcrt" "-lmingwex" "-luser32" "-lkernel32" "-Wl,--nxcompat" "-o" "/home/peach/code-projects/noita_entangled_worlds/ewext/target/i686-pc-windows-gnu/release/deps/ewext.dll" "-Wl,--gc-sections" "-shared" "-Wl,--out-implib=/home/peach/code-projects/noita_entangled_worlds/ewext/target/i686-pc-windows-gnu/release/deps/libewext.dll.a" "-Wl,-O1" "-Wl,--strip-debug" "-nodefaultlibs" "<sysroot>/lib/rustlib/i686-pc-windows-gnu/lib/rsend.o"
= note: some arguments are omitted. use `--verbose` to show all linker arguments
= note: /nix/store/8fzv58m3yvsq1rynmv7qlgzp1gmap16d-i686-w64-mingw32-binutils-2.44/bin/i686-w64-mingw32-ld: /nix/store/q0h11ca8sn2vzakjqa3sp2yqp6srmp6g-i686-w64-mingw32-gcc-15.2.0/lib/gcc/i686-w64-mingw32/15.2.0/libgcc_eh.a(unwind-dw2-fde.o):(.text+0x160a): undefined reference to `_MCF_mutex_lock_slow'
/nix/store/8fzv58m3yvsq1rynmv7qlgzp1gmap16d-i686-w64-mingw32-binutils-2.44/bin/i686-w64-mingw32-ld: /nix/store/q0h11ca8sn2vzakjqa3sp2yqp6srmp6g-i686-w64-mingw32-gcc-15.2.0/lib/gcc/i686-w64-mingw32/15.2.0/libgcc_eh.a(unwind-dw2-fde.o):(.text+0x16a9): undefined reference to `_MCF_mutex_lock_slow'
/nix/store/8fzv58m3yvsq1rynmv7qlgzp1gmap16d-i686-w64-mingw32-binutils-2.44/bin/i686-w64-mingw32-ld: /nix/store/q0h11ca8sn2vzakjqa3sp2yqp6srmp6g-i686-w64-mingw32-gcc-15.2.0/lib/gcc/i686-w64-mingw32/15.2.0/libgcc_eh.a(unwind-dw2-fde.o):(.text+0x176e): undefined reference to `_MCF_mutex_lock_slow'
/nix/store/8fzv58m3yvsq1rynmv7qlgzp1gmap16d-i686-w64-mingw32-binutils-2.44/bin/i686-w64-mingw32-ld: /nix/store/q0h11ca8sn2vzakjqa3sp2yqp6srmp6g-i686-w64-mingw32-gcc-15.2.0/lib/gcc/i686-w64-mingw32/15.2.0/libgcc_eh.a(unwind-dw2-fde.o):(.text+0x17ef): undefined reference to `_MCF_mutex_lock_slow'
/nix/store/8fzv58m3yvsq1rynmv7qlgzp1gmap16d-i686-w64-mingw32-binutils-2.44/bin/i686-w64-mingw32-ld: /nix/store/q0h11ca8sn2vzakjqa3sp2yqp6srmp6g-i686-w64-mingw32-gcc-15.2.0/lib/gcc/i686-w64-mingw32/15.2.0/libgcc_eh.a(unwind-dw2-fde.o):(.text+0x187f): undefined reference to `_MCF_mutex_lock_slow'
/nix/store/8fzv58m3yvsq1rynmv7qlgzp1gmap16d-i686-w64-mingw32-binutils-2.44/bin/i686-w64-mingw32-ld: /nix/store/q0h11ca8sn2vzakjqa3sp2yqp6srmp6g-i686-w64-mingw32-gcc-15.2.0/lib/gcc/i686-w64-mingw32/15.2.0/libgcc_eh.a(unwind-dw2-fde.o):(.text+0x191b): more undefined references to `_MCF_mutex_lock_slow' follow
/nix/store/8fzv58m3yvsq1rynmv7qlgzp1gmap16d-i686-w64-mingw32-binutils-2.44/bin/i686-w64-mingw32-ld: /nix/store/q0h11ca8sn2vzakjqa3sp2yqp6srmp6g-i686-w64-mingw32-gcc-15.2.0/lib/gcc/i686-w64-mingw32/15.2.0/libgcc_eh.a(unwind-dw2-fde.o):(.text+0x1a05): undefined reference to `_MCF_mutex_unlock_slow'
/nix/store/8fzv58m3yvsq1rynmv7qlgzp1gmap16d-i686-w64-mingw32-binutils-2.44/bin/i686-w64-mingw32-ld: /nix/store/q0h11ca8sn2vzakjqa3sp2yqp6srmp6g-i686-w64-mingw32-gcc-15.2.0/lib/gcc/i686-w64-mingw32/15.2.0/libgcc_eh.a(unwind-dw2-fde.o):(.text+0x1a74): undefined reference to `_MCF_mutex_unlock_slow'
/nix/store/8fzv58m3yvsq1rynmv7qlgzp1gmap16d-i686-w64-mingw32-binutils-2.44/bin/i686-w64-mingw32-ld: /nix/store/q0h11ca8sn2vzakjqa3sp2yqp6srmp6g-i686-w64-mingw32-gcc-15.2.0/lib/gcc/i686-w64-mingw32/15.2.0/libgcc_eh.a(unwind-dw2-fde.o):(.text+0x1a8c): undefined reference to `_MCF_mutex_lock_slow'
/nix/store/8fzv58m3yvsq1rynmv7qlgzp1gmap16d-i686-w64-mingw32-binutils-2.44/bin/i686-w64-mingw32-ld: /nix/store/q0h11ca8sn2vzakjqa3sp2yqp6srmp6g-i686-w64-mingw32-gcc-15.2.0/lib/gcc/i686-w64-mingw32/15.2.0/libgcc_eh.a(unwind-dw2-fde.o):(.text+0x1c67): undefined reference to `_MCF_mutex_unlock_slow'
/nix/store/8fzv58m3yvsq1rynmv7qlgzp1gmap16d-i686-w64-mingw32-binutils-2.44/bin/i686-w64-mingw32-ld: /nix/store/q0h11ca8sn2vzakjqa3sp2yqp6srmp6g-i686-w64-mingw32-gcc-15.2.0/lib/gcc/i686-w64-mingw32/15.2.0/libgcc_eh.a(unwind-dw2-fde.o):(.text+0x1c8f): undefined reference to `_MCF_mutex_unlock_slow'
/nix/store/8fzv58m3yvsq1rynmv7qlgzp1gmap16d-i686-w64-mingw32-binutils-2.44/bin/i686-w64-mingw32-ld: /nix/store/q0h11ca8sn2vzakjqa3sp2yqp6srmp6g-i686-w64-mingw32-gcc-15.2.0/lib/gcc/i686-w64-mingw32/15.2.0/libgcc_eh.a(unwind-dw2-fde.o):(.text+0x1ca6): undefined reference to `_MCF_mutex_lock_slow'
/nix/store/8fzv58m3yvsq1rynmv7qlgzp1gmap16d-i686-w64-mingw32-binutils-2.44/bin/i686-w64-mingw32-ld: /nix/store/q0h11ca8sn2vzakjqa3sp2yqp6srmp6g-i686-w64-mingw32-gcc-15.2.0/lib/gcc/i686-w64-mingw32/15.2.0/libgcc_eh.a(unwind-dw2-fde.o):(.text+0x1621): undefined reference to `_MCF_mutex_unlock_slow'
/nix/store/8fzv58m3yvsq1rynmv7qlgzp1gmap16d-i686-w64-mingw32-binutils-2.44/bin/i686-w64-mingw32-ld: /nix/store/q0h11ca8sn2vzakjqa3sp2yqp6srmp6g-i686-w64-mingw32-gcc-15.2.0/lib/gcc/i686-w64-mingw32/15.2.0/libgcc_eh.a(unwind-dw2-fde.o):(.text+0x16bf): undefined reference to `_MCF_mutex_unlock_slow'
/nix/store/8fzv58m3yvsq1rynmv7qlgzp1gmap16d-i686-w64-mingw32-binutils-2.44/bin/i686-w64-mingw32-ld: /nix/store/q0h11ca8sn2vzakjqa3sp2yqp6srmp6g-i686-w64-mingw32-gcc-15.2.0/lib/gcc/i686-w64-mingw32/15.2.0/libgcc_eh.a(unwind-dw2-fde.o):(.text+0x1758): undefined reference to `_MCF_mutex_unlock_slow'
/nix/store/8fzv58m3yvsq1rynmv7qlgzp1gmap16d-i686-w64-mingw32-binutils-2.44/bin/i686-w64-mingw32-ld: /nix/store/q0h11ca8sn2vzakjqa3sp2yqp6srmp6g-i686-w64-mingw32-gcc-15.2.0/lib/gcc/i686-w64-mingw32/15.2.0/libgcc_eh.a(unwind-dw2-fde.o):(.text+0x1805): undefined reference to `_MCF_mutex_unlock_slow'
/nix/store/8fzv58m3yvsq1rynmv7qlgzp1gmap16d-i686-w64-mingw32-binutils-2.44/bin/i686-w64-mingw32-ld: /nix/store/q0h11ca8sn2vzakjqa3sp2yqp6srmp6g-i686-w64-mingw32-gcc-15.2.0/lib/gcc/i686-w64-mingw32/15.2.0/libgcc_eh.a(unwind-dw2-fde.o):(.text+0x1895): undefined reference to `_MCF_mutex_unlock_slow'
/nix/store/8fzv58m3yvsq1rynmv7qlgzp1gmap16d-i686-w64-mingw32-binutils-2.44/bin/i686-w64-mingw32-ld: /nix/store/q0h11ca8sn2vzakjqa3sp2yqp6srmp6g-i686-w64-mingw32-gcc-15.2.0/lib/gcc/i686-w64-mingw32/15.2.0/libgcc_eh.a(unwind-dw2-fde.o):(.text+0x1932): more undefined references to `_MCF_mutex_unlock_slow' follow
/nix/store/8fzv58m3yvsq1rynmv7qlgzp1gmap16d-i686-w64-mingw32-binutils-2.44/bin/i686-w64-mingw32-ld: /nix/store/q0h11ca8sn2vzakjqa3sp2yqp6srmp6g-i686-w64-mingw32-gcc-15.2.0/lib/gcc/i686-w64-mingw32/15.2.0/libgcc_eh.a(unwind-sjlj.o):(.text+0xb): undefined reference to `_MCF_tls_key_new'
/nix/store/8fzv58m3yvsq1rynmv7qlgzp1gmap16d-i686-w64-mingw32-binutils-2.44/bin/i686-w64-mingw32-ld: /nix/store/q0h11ca8sn2vzakjqa3sp2yqp6srmp6g-i686-w64-mingw32-gcc-15.2.0/lib/gcc/i686-w64-mingw32/15.2.0/libgcc_eh.a(unwind-sjlj.o):(.text+0x4c): undefined reference to `_MCF_once_wait_slow'
/nix/store/8fzv58m3yvsq1rynmv7qlgzp1gmap16d-i686-w64-mingw32-binutils-2.44/bin/i686-w64-mingw32-ld: /nix/store/q0h11ca8sn2vzakjqa3sp2yqp6srmp6g-i686-w64-mingw32-gcc-15.2.0/lib/gcc/i686-w64-mingw32/15.2.0/libgcc_eh.a(unwind-sjlj.o):(.text+0x6c): undefined reference to `__MCF_gthr_call_once_seh_take_over'
/nix/store/8fzv58m3yvsq1rynmv7qlgzp1gmap16d-i686-w64-mingw32-binutils-2.44/bin/i686-w64-mingw32-ld: /nix/store/q0h11ca8sn2vzakjqa3sp2yqp6srmp6g-i686-w64-mingw32-gcc-15.2.0/lib/gcc/i686-w64-mingw32/15.2.0/libgcc_eh.a(unwind-sjlj.o):(.text+0xc7): undefined reference to `_MCF_thread_self'
/nix/store/8fzv58m3yvsq1rynmv7qlgzp1gmap16d-i686-w64-mingw32-binutils-2.44/bin/i686-w64-mingw32-ld: /nix/store/q0h11ca8sn2vzakjqa3sp2yqp6srmp6g-i686-w64-mingw32-gcc-15.2.0/lib/gcc/i686-w64-mingw32/15.2.0/libgcc_eh.a(unwind-sjlj.o):(.text+0xde): undefined reference to `__MCF_tls_table_get'
/nix/store/8fzv58m3yvsq1rynmv7qlgzp1gmap16d-i686-w64-mingw32-binutils-2.44/bin/i686-w64-mingw32-ld: /nix/store/q0h11ca8sn2vzakjqa3sp2yqp6srmp6g-i686-w64-mingw32-gcc-15.2.0/lib/gcc/i686-w64-mingw32/15.2.0/libgcc_eh.a(unwind-sjlj.o):(.text+0x1f0): undefined reference to `_MCF_thread_self'
/nix/store/8fzv58m3yvsq1rynmv7qlgzp1gmap16d-i686-w64-mingw32-binutils-2.44/bin/i686-w64-mingw32-ld: /nix/store/q0h11ca8sn2vzakjqa3sp2yqp6srmp6g-i686-w64-mingw32-gcc-15.2.0/lib/gcc/i686-w64-mingw32/15.2.0/libgcc_eh.a(unwind-sjlj.o):(.text+0x211): undefined reference to `__MCF_tls_table_xset'
/nix/store/8fzv58m3yvsq1rynmv7qlgzp1gmap16d-i686-w64-mingw32-binutils-2.44/bin/i686-w64-mingw32-ld: /nix/store/q0h11ca8sn2vzakjqa3sp2yqp6srmp6g-i686-w64-mingw32-gcc-15.2.0/lib/gcc/i686-w64-mingw32/15.2.0/libgcc_eh.a(unwind-sjlj.o):(.text+0x30a): undefined reference to `_MCF_thread_self'
/nix/store/8fzv58m3yvsq1rynmv7qlgzp1gmap16d-i686-w64-mingw32-binutils-2.44/bin/i686-w64-mingw32-ld: /nix/store/q0h11ca8sn2vzakjqa3sp2yqp6srmp6g-i686-w64-mingw32-gcc-15.2.0/lib/gcc/i686-w64-mingw32/15.2.0/libgcc_eh.a(unwind-sjlj.o):(.text+0x331): undefined reference to `__MCF_tls_table_xset'
/nix/store/8fzv58m3yvsq1rynmv7qlgzp1gmap16d-i686-w64-mingw32-binutils-2.44/bin/i686-w64-mingw32-ld: /nix/store/q0h11ca8sn2vzakjqa3sp2yqp6srmp6g-i686-w64-mingw32-gcc-15.2.0/lib/gcc/i686-w64-mingw32/15.2.0/libgcc_eh.a(unwind-sjlj.o):(.text+0x3e1): undefined reference to `_MCF_thread_self'
/nix/store/8fzv58m3yvsq1rynmv7qlgzp1gmap16d-i686-w64-mingw32-binutils-2.44/bin/i686-w64-mingw32-ld: /nix/store/q0h11ca8sn2vzakjqa3sp2yqp6srmp6g-i686-w64-mingw32-gcc-15.2.0/lib/gcc/i686-w64-mingw32/15.2.0/libgcc_eh.a(unwind-sjlj.o):(.text+0x3fd): undefined reference to `__MCF_tls_table_get'
/nix/store/8fzv58m3yvsq1rynmv7qlgzp1gmap16d-i686-w64-mingw32-binutils-2.44/bin/i686-w64-mingw32-ld: /nix/store/q0h11ca8sn2vzakjqa3sp2yqp6srmp6g-i686-w64-mingw32-gcc-15.2.0/lib/gcc/i686-w64-mingw32/15.2.0/libgcc_eh.a(unwind-sjlj.o):(.text+0x41f): undefined reference to `__MCF_tls_table_xset'
/nix/store/8fzv58m3yvsq1rynmv7qlgzp1gmap16d-i686-w64-mingw32-binutils-2.44/bin/i686-w64-mingw32-ld: /nix/store/q0h11ca8sn2vzakjqa3sp2yqp6srmp6g-i686-w64-mingw32-gcc-15.2.0/lib/gcc/i686-w64-mingw32/15.2.0/libgcc_eh.a(unwind-sjlj.o):(.text+0x469): undefined reference to `_MCF_thread_self'
/nix/store/8fzv58m3yvsq1rynmv7qlgzp1gmap16d-i686-w64-mingw32-binutils-2.44/bin/i686-w64-mingw32-ld: /nix/store/q0h11ca8sn2vzakjqa3sp2yqp6srmp6g-i686-w64-mingw32-gcc-15.2.0/lib/gcc/i686-w64-mingw32/15.2.0/libgcc_eh.a(unwind-sjlj.o):(.text+0x48c): undefined reference to `__MCF_tls_table_xset'
/nix/store/8fzv58m3yvsq1rynmv7qlgzp1gmap16d-i686-w64-mingw32-binutils-2.44/bin/i686-w64-mingw32-ld: /nix/store/q0h11ca8sn2vzakjqa3sp2yqp6srmp6g-i686-w64-mingw32-gcc-15.2.0/lib/gcc/i686-w64-mingw32/15.2.0/libgcc_eh.a(unwind-sjlj.o):(.text+0x5b2): undefined reference to `_MCF_thread_self'
/nix/store/8fzv58m3yvsq1rynmv7qlgzp1gmap16d-i686-w64-mingw32-binutils-2.44/bin/i686-w64-mingw32-ld: /nix/store/q0h11ca8sn2vzakjqa3sp2yqp6srmp6g-i686-w64-mingw32-gcc-15.2.0/lib/gcc/i686-w64-mingw32/15.2.0/libgcc_eh.a(unwind-sjlj.o):(.text+0x5c9): undefined reference to `__MCF_tls_table_get'
/nix/store/8fzv58m3yvsq1rynmv7qlgzp1gmap16d-i686-w64-mingw32-binutils-2.44/bin/i686-w64-mingw32-ld: /nix/store/q0h11ca8sn2vzakjqa3sp2yqp6srmp6g-i686-w64-mingw32-gcc-15.2.0/lib/gcc/i686-w64-mingw32/15.2.0/libgcc_eh.a(unwind-sjlj.o):(.text+0x69c): undefined reference to `_MCF_thread_self'
/nix/store/8fzv58m3yvsq1rynmv7qlgzp1gmap16d-i686-w64-mingw32-binutils-2.44/bin/i686-w64-mingw32-ld: /nix/store/q0h11ca8sn2vzakjqa3sp2yqp6srmp6g-i686-w64-mingw32-gcc-15.2.0/lib/gcc/i686-w64-mingw32/15.2.0/libgcc_eh.a(unwind-sjlj.o):(.text+0x6b3): undefined reference to `__MCF_tls_table_get'
/nix/store/8fzv58m3yvsq1rynmv7qlgzp1gmap16d-i686-w64-mingw32-binutils-2.44/bin/i686-w64-mingw32-ld: /nix/store/q0h11ca8sn2vzakjqa3sp2yqp6srmp6g-i686-w64-mingw32-gcc-15.2.0/lib/gcc/i686-w64-mingw32/15.2.0/libgcc_eh.a(unwind-sjlj.o):(.text+0x7e2): undefined reference to `_MCF_thread_self'
/nix/store/8fzv58m3yvsq1rynmv7qlgzp1gmap16d-i686-w64-mingw32-binutils-2.44/bin/i686-w64-mingw32-ld: /nix/store/q0h11ca8sn2vzakjqa3sp2yqp6srmp6g-i686-w64-mingw32-gcc-15.2.0/lib/gcc/i686-w64-mingw32/15.2.0/libgcc_eh.a(unwind-sjlj.o):(.text+0x7f9): undefined reference to `__MCF_tls_table_get'
collect2: error: ld returned 1 exit status
= note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified
= note: use the `-l` flag to specify native libraries to link
= note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib)
After a few searches, this is likely related to this thread.
I tried to add another package
pkgs.pkgsCross.mingw-msvcrt-i686.buildPackages.windows.mcfgthreads
Then I got hit with the
error: Refusing to evaluate package 'mcfgthread-2.3.1' in /nix/store/8xjxn3pz0mkfcr6jk6cfnhrjxw8v0f3l-source/pkgs/os-specific/windows/mcfgthreads/default.nix:41 because it is not available on the requested hostPlatform:
hostPlatform.system = "x86_64-linux"
package.meta.platforms = [
"aarch64-windows"
"x86_64-windows"
"i686-windows"
]
package.meta.badPlatforms = [ ]
Which is a bit confusing (hostPlatform.system = "x86_64-linux"..?), because I’m trying to cross-compile here, similarly to the mentioned thread above. But that’s still unanswered. Why? Or was it that mcfgthreads is not supported on `i686-pc-windows-gnu`? Then, maybe I should change to something else? How?