Skip to content

Only use dlltool.exe on MinGW if -Cdlltool is passed - #161050

Open
bjorn3 wants to merge 1 commit into
rust-lang:mainfrom
bjorn3:default_no_dlltool
Open

Only use dlltool.exe on MinGW if -Cdlltool is passed#161050
bjorn3 wants to merge 1 commit into
rust-lang:mainfrom
bjorn3:default_no_dlltool

Conversation

@bjorn3

@bjorn3 bjorn3 commented Aug 13, 2026

Copy link
Copy Markdown
Member

The linker used by MinGW now works with ar_archive_writer generated short import libraries too.

Implements rust-lang/compiler-team#1029

r? @mati865

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Aug 13, 2026
@mati865 mati865 added the S-waiting-on-MCP Status: PR has a compiler MCP and is waiting for the compiler MCP to complete. label Aug 13, 2026
Comment thread compiler/rustc_codegen_ssa/src/back/archive.rs Outdated
The linker used by MinGW now works with ar_archive_writer generated short
import libraries too.
@bjorn3
bjorn3 force-pushed the default_no_dlltool branch from 7dda195 to fd82481 Compare August 14, 2026 09:48

@mati865 mati865 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Blocked only the on MCP.

View changes since this review

@mati865 mati865 added S-blocked Status: Blocked on something else such as an RFC or other implementation work. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Aug 14, 2026
@bjorn3

bjorn3 commented Aug 24, 2026

Copy link
Copy Markdown
Member Author

@rustbot ready

MCP has been accepted.

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-blocked Status: Blocked on something else such as an RFC or other implementation work. labels Aug 24, 2026
@mati865

mati865 commented Aug 24, 2026

Copy link
Copy Markdown
Member

@bors r+

@rust-bors

rust-bors Bot commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

📋 This PR cannot be approved because it currently has the following label: S-waiting-on-MCP.

@mati865 mati865 removed the S-waiting-on-MCP Status: PR has a compiler MCP and is waiting for the compiler MCP to complete. label Aug 24, 2026
@mati865

mati865 commented Aug 24, 2026

Copy link
Copy Markdown
Member

@bors r+

I suppose we will want to include it in release notes, no?

@rust-bors

rust-bors Bot commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

📌 Commit fd82481 has been approved by mati865

It is now in the queue for this repository.

@rust-bors rust-bors Bot added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Aug 24, 2026
@bjorn3 bjorn3 added the relnotes Marks issues that should be documented in the release notes of the next release. label Aug 24, 2026
JonathanBrouwer added a commit to JonathanBrouwer/rust that referenced this pull request Aug 24, 2026
Only use dlltool.exe on MinGW if -Cdlltool is passed

The linker used by MinGW now works with ar_archive_writer generated short import libraries too.

Implements rust-lang/compiler-team#1029

r? @mati865
JonathanBrouwer added a commit to JonathanBrouwer/rust that referenced this pull request Aug 24, 2026
Only use dlltool.exe on MinGW if -Cdlltool is passed

The linker used by MinGW now works with ar_archive_writer generated short import libraries too.

Implements rust-lang/compiler-team#1029

r? @mati865
JonathanBrouwer added a commit to JonathanBrouwer/rust that referenced this pull request Aug 24, 2026
Only use dlltool.exe on MinGW if -Cdlltool is passed

The linker used by MinGW now works with ar_archive_writer generated short import libraries too.

Implements rust-lang/compiler-team#1029

r? @mati865
rust-bors Bot pushed a commit that referenced this pull request Aug 24, 2026
…uwer

Rollup of 6 pull requests

Successful merges:

 - #155499 (stabilize never type)
 - #161294 (add crashtests [6/N])
 - #161050 (Only use dlltool.exe on MinGW if -Cdlltool is passed)
 - #159583 (Add new `invalid_markdown_table` rustdoc lint)
 - #161098 (PassWrapper: handle LLVM 24 change in function types)
 - #161661 (Don't treat slashes as path seps after drive letters in verbatim paths)
JonathanBrouwer added a commit to JonathanBrouwer/rust that referenced this pull request Aug 24, 2026
Only use dlltool.exe on MinGW if -Cdlltool is passed

The linker used by MinGW now works with ar_archive_writer generated short import libraries too.

Implements rust-lang/compiler-team#1029

r? @mati865
rust-bors Bot pushed a commit that referenced this pull request Aug 24, 2026
…uwer

Rollup of 5 pull requests

Successful merges:

 - #161294 (add crashtests [6/N])
 - #161050 (Only use dlltool.exe on MinGW if -Cdlltool is passed)
 - #159583 (Add new `invalid_markdown_table` rustdoc lint)
 - #161098 (PassWrapper: handle LLVM 24 change in function types)
 - #161661 (Don't treat slashes as path seps after drive letters in verbatim paths)
JonathanBrouwer added a commit to JonathanBrouwer/rust that referenced this pull request Aug 24, 2026
Only use dlltool.exe on MinGW if -Cdlltool is passed

The linker used by MinGW now works with ar_archive_writer generated short import libraries too.

Implements rust-lang/compiler-team#1029

r? @mati865
rust-bors Bot pushed a commit that referenced this pull request Aug 24, 2026
…uwer

Rollup of 6 pull requests

Successful merges:

 - #155499 (stabilize never type)
 - #161294 (add crashtests [6/N])
 - #161050 (Only use dlltool.exe on MinGW if -Cdlltool is passed)
 - #159583 (Add new `invalid_markdown_table` rustdoc lint)
 - #161098 (PassWrapper: handle LLVM 24 change in function types)
 - #161661 (Don't treat slashes as path seps after drive letters in verbatim paths)
@JonathanBrouwer

Copy link
Copy Markdown
Member

@bors try jobs=dist-i686-mingw

@rust-bors

This comment has been minimized.

rust-bors Bot pushed a commit that referenced this pull request Aug 24, 2026
Only use dlltool.exe on MinGW if -Cdlltool is passed


try-job: dist-i686-mingw
@mati865

mati865 commented Aug 24, 2026

Copy link
Copy Markdown
Member

I can look into that failure tomorrow. Looks like we don't prefix import symbols correctly on i686 windows GNU for some reason.

@JonathanBrouwer

Copy link
Copy Markdown
Member

@bors r-
This is probably the problem

@rust-bors rust-bors Bot added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Aug 24, 2026
@rust-bors

rust-bors Bot commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

This pull request was unapproved.

This PR was contained in a rollup (#161688), which was unapproved.

View changes since this unapproval

@rust-bors

rust-bors Bot commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

💔 Test for 3d9e5bb failed: CI. Failed job:

@rust-log-analyzer

Copy link
Copy Markdown
Collaborator

The job dist-i686-mingw failed! Check out the build log: (web) (plain enhanced) (plain)

Click to see the possible cause of the failure (guessed by this bot)
[RUSTC-TIMING] gimli test:false 6.415
[RUSTC-TIMING] object test:false 8.443
error: linking with `i686-w64-mingw32-gcc` failed: exit code: 1
  |
  = note: "i686-w64-mingw32-gcc" "-Wl,<sysroot>-std\\i686-pc-windows-gnu\\dist\\build\\std/6fb1d6c928d7072b\\out\\rustcqrVLRK\\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" "<sysroot>-std\\i686-pc-windows-gnu\\dist\\build\\std/6fb1d6c928d7072b\\out\\rustcqrVLRK\\symbols.o" "<1 object files omitted>" "<sysroot>-std\\i686-pc-windows-gnu\\dist\\build\\std/6fb1d6c928d7072b\\out\\rustcqrVLRK\\rmeta.o" "<1 object files omitted>" "-Wl,-Bdynamic" "-lkernel32" "-lkernel32" "-lkernel32" "-Wl,-Bstatic" "D:\\a\\rust\\rust\\build\\i686-pc-windows-gnu\\stage1-std\\i686-pc-windows-gnu\\dist\\build\\panic_unwind\\fa9098f4eff9a1d3\\out/libpanic_unwind-fa9098f4eff9a1d3.rlib" "D:\\a\\rust\\rust\\build\\i686-pc-windows-gnu\\stage1-std\\i686-pc-windows-gnu\\dist\\build\\object\\5c7677589ae9195f\\out/libobject-5c7677589ae9195f.rlib" "D:\\a\\rust\\rust\\build\\i686-pc-windows-gnu\\stage1-std\\i686-pc-windows-gnu\\dist\\build\\memchr/8be089ac59d7222e\\out/libmemchr-8be089ac59d7222e.rlib" "D:\\a\\rust\\rust\\build\\i686-pc-windows-gnu\\stage1-std\\i686-pc-windows-gnu\\dist\\build\\addr2line\\68848ea72ef189b7\\out/libaddr2line-68848ea72ef189b7.rlib" "D:\\a\\rust\\rust\\build\\i686-pc-windows-gnu\\stage1-std\\i686-pc-windows-gnu\\dist\\build\\gimli/5518ec1ddbb0aea6\\out/libgimli-5518ec1ddbb0aea6.rlib" "D:\\a\\rust\\rust\\build\\i686-pc-windows-gnu\\stage1-std\\i686-pc-windows-gnu\\dist\\build\\cfg-if\\7f51efe330537992\\out/libcfg_if-7f51efe330537992.rlib" "D:\\a\\rust\\rust\\build\\i686-pc-windows-gnu\\stage1-std\\i686-pc-windows-gnu\\dist\\build\\windows-link\\1d39af9e4aa004d3\\out/libwindows_link-1d39af9e4aa004d3.rlib" "D:\\a\\rust\\rust\\build\\i686-pc-windows-gnu\\stage1-std\\i686-pc-windows-gnu\\dist\\build\\rustc-demangle\\60956b5a2e3fac0a\\out/librustc_demangle-60956b5a2e3fac0a.rlib" "D:\\a\\rust\\rust\\build\\i686-pc-windows-gnu\\stage1-std\\i686-pc-windows-gnu\\dist\\build\\std_detect\\20f73797c31adb8e\\out/libstd_detect-20f73797c31adb8e.rlib" "D:\\a\\rust\\rust\\build\\i686-pc-windows-gnu\\stage1-std\\i686-pc-windows-gnu\\dist\\build\\hashbrown\\8ebf50a464da987f\\out/libhashbrown-8ebf50a464da987f.rlib" "D:\\a\\rust\\rust\\build\\i686-pc-windows-gnu\\stage1-std\\i686-pc-windows-gnu\\dist\\build\\rustc-std-workspace-alloc/329dd69d76a750af\\out/librustc_std_workspace_alloc-329dd69d76a750af.rlib" "D:\\a\\rust\\rust\\build\\i686-pc-windows-gnu\\stage1-std\\i686-pc-windows-gnu\\dist\\build\\miniz_oxide\\d88928a456a7d66e\\out/libminiz_oxide-d88928a456a7d66e.rlib" "D:\\a\\rust\\rust\\build\\i686-pc-windows-gnu\\stage1-std\\i686-pc-windows-gnu\\dist\\build\\adler2/cae7444741795c10\\out/libadler2-cae7444741795c10.rlib" "D:\\a\\rust\\rust\\build\\i686-pc-windows-gnu\\stage1-std\\i686-pc-windows-gnu\\dist\\build\\unwind\\1e3dd0a792f6f44e\\out/libunwind-1e3dd0a792f6f44e.rlib" "D:\\a\\rust\\rust\\build\\i686-pc-windows-gnu\\stage1-std\\i686-pc-windows-gnu\\dist\\build\\libc\\8ec60794e7ec94fc\\out/liblibc-8ec60794e7ec94fc.rlib" "D:\\a\\rust\\rust\\build\\i686-pc-windows-gnu\\stage1-std\\i686-pc-windows-gnu\\dist\\build\\rustc-std-workspace-core/f5cfdbadd1250083\\out/librustc_std_workspace_core-f5cfdbadd1250083.rlib" "D:\\a\\rust\\rust\\build\\i686-pc-windows-gnu\\stage1-std\\i686-pc-windows-gnu\\dist\\build\\alloc\\e3153e084a0570f6\\out/liballoc-e3153e084a0570f6.rlib" "D:\\a\\rust\\rust\\build\\i686-pc-windows-gnu\\stage1-std\\i686-pc-windows-gnu\\dist\\build\\core\\d72a21cbf88380a1\\out/libcore-d72a21cbf88380a1.rlib" "D:\\a\\rust\\rust\\build\\i686-pc-windows-gnu\\stage1-std\\i686-pc-windows-gnu\\dist\\build\\compiler_builtins/461a24f7a9221738\\out/libcompiler_builtins-461a24f7a9221738.rlib" "-Wl,-Bdynamic" "-lntdll" "-luserenv" "-lws2_32" "-ldbghelp" "<sysroot>-std\\i686-pc-windows-gnu\\dist\\build\\std/6fb1d6c928d7072b\\out\\rustcqrVLRK\\bcryptprimitives.dll_imports.lib" "<sysroot>-std\\i686-pc-windows-gnu\\dist\\build\\std/6fb1d6c928d7072b\\out\\rustcqrVLRK\\api-ms-win-core-synch-l1-2-0.dll_imports.lib" "-lgcc_s" "-lmsvcrt" "-lmingwex" "-lmingw32" "-lgcc" "-lmsvcrt" "-lmingwex" "-luser32" "-lkernel32" "-Wl,--nxcompat" "-L" "<sysroot>-std\\i686-pc-windows-gnu\\dist\\build\\compiler_builtins/6892ea6cd96e3ef7\\out" "-o" "<sysroot>-std\\i686-pc-windows-gnu\\dist\\build\\std/6fb1d6c928d7072b\\out\\std-6fb1d6c928d7072b.dll" "-shared" "-Wl,--out-implib=<sysroot>-std\\i686-pc-windows-gnu\\dist\\build\\std/6fb1d6c928d7072b\\out\\libstd-6fb1d6c928d7072b.dll.a" "-Wl,-O1" "-nodefaultlibs" "<sysroot>\\lib\\rustlib\\i686-pc-windows-gnu\\lib\\rsend.o"
  = note: some arguments are omitted. use `--verbose` to show all linker arguments
  = note: D:/a/rust/rust/mingw32/bin/../lib/gcc/i686-w64-mingw32/14.2.0/../../../../i686-w64-mingw32/bin/ld.exe: D:\a\rust\rust\build\i686-pc-windows-gnu\stage1-std\i686-pc-windows-gnu\dist\build\std/6fb1d6c928d7072b\out\std-6fb1d6c928d7072b.std.3afac83efc02d1aa-cgu.0.rcgu.o: in function `RINvNtCs9Rym59Fut0K_4core3ptr9drop_glueINtNtB4_6result6ResultINtNtNtNtCs53WIJRyguc8_3std4sync6poison5mutex10MutexGuarduEINtB12_11PoisonErrorBX_EEEB16_':
          /rustc/3d9e5bbe7eb09e8e90d65ddc195235e52056432b/library\core\src\ptr/mod.rs:848:(.text+0x5d7c): undefined reference to `_imp_WakeByAddressSingle'
          D:/a/rust/rust/mingw32/bin/../lib/gcc/i686-w64-mingw32/14.2.0/../../../../i686-w64-mingw32/bin/ld.exe: D:\a\rust\rust\build\i686-pc-windows-gnu\stage1-std\i686-pc-windows-gnu\dist\build\std/6fb1d6c928d7072b\out\std-6fb1d6c928d7072b.std.3afac83efc02d1aa-cgu.0.rcgu.o: in function `RINvNtNtNtNtCs53WIJRyguc8_3std3sys4sync5futex7windows22wake_by_address_singleINtNtNtCs9Rym59Fut0K_4core4sync6atomic6AtomichEEBa_':
          /rustc/3d9e5bbe7eb09e8e90d65ddc195235e52056432b/library\std\src\sys\sync\futex/windows.rs:74:(.text+0x6aee): undefined reference to `_imp_WakeByAddressSingle'
          D:/a/rust/rust/mingw32/bin/../lib/gcc/i686-w64-mingw32/14.2.0/../../../../i686-w64-mingw32/bin/ld.exe: /rustc/3d9e5bbe7eb09e8e90d65ddc195235e52056432b/library\std\src\sys\sync\futex/windows.rs:74:(.text+0x6b8f): undefined reference to `_imp_WakeByAddressSingle'
          D:/a/rust/rust/mingw32/bin/../lib/gcc/i686-w64-mingw32/14.2.0/../../../../i686-w64-mingw32/bin/ld.exe: /rustc/3d9e5bbe7eb09e8e90d65ddc195235e52056432b/library\std\src\sys\sync\futex/windows.rs:74:(.text+0x6f13): undefined reference to `_imp_WakeByAddressSingle'
          D:/a/rust/rust/mingw32/bin/../lib/gcc/i686-w64-mingw32/14.2.0/../../../../i686-w64-mingw32/bin/ld.exe: /rustc/3d9e5bbe7eb09e8e90d65ddc195235e52056432b/library\std\src\sys\sync\futex/windows.rs:74:(.text+0x14436): undefined reference to `_imp_WakeByAddressSingle'
          D:/a/rust/rust/mingw32/bin/../lib/gcc/i686-w64-mingw32/14.2.0/../../../../i686-w64-mingw32/bin/ld.exe: D:\a\rust\rust\build\i686-pc-windows-gnu\stage1-std\i686-pc-windows-gnu\dist\build\std/6fb1d6c928d7072b\out\std-6fb1d6c928d7072b.std.3afac83efc02d1aa-cgu.0.rcgu.o:/rustc/3d9e5bbe7eb09e8e90d65ddc195235e52056432b/library\std\src\sys\sync\futex/windows.rs:74: more undefined references to `_imp_WakeByAddressSingle' follow
          D:/a/rust/rust/mingw32/bin/../lib/gcc/i686-w64-mingw32/14.2.0/../../../../i686-w64-mingw32/bin/ld.exe: D:\a\rust\rust\build\i686-pc-windows-gnu\stage1-std\i686-pc-windows-gnu\dist\build\std/6fb1d6c928d7072b\out\std-6fb1d6c928d7072b.std.3afac83efc02d1aa-cgu.0.rcgu.o: in function `RINvNtNtNtNtCs53WIJRyguc8_3std3sys4sync5futex7windows19wake_by_address_allINtNtNtCs9Rym59Fut0K_4core4sync6atomic6AtomicmEEBa_':
          /rustc/3d9e5bbe7eb09e8e90d65ddc195235e52056432b/library\std\src\sys\sync\futex/windows.rs:81:(.text+0x18dac): undefined reference to `_imp_WakeByAddressAll'
          D:/a/rust/rust/mingw32/bin/../lib/gcc/i686-w64-mingw32/14.2.0/../../../../i686-w64-mingw32/bin/ld.exe: D:\a\rust\rust\build\i686-pc-windows-gnu\stage1-std\i686-pc-windows-gnu\dist\build\std/6fb1d6c928d7072b\out\std-6fb1d6c928d7072b.std.3afac83efc02d1aa-cgu.0.rcgu.o: in function `RINvNtNtNtNtCs53WIJRyguc8_3std3sys4sync5futex7windows22wake_by_address_singleINtNtNtCs9Rym59Fut0K_4core4sync6atomic6AtomicmEEBa_':
          /rustc/3d9e5bbe7eb09e8e90d65ddc195235e52056432b/library\std\src\sys\sync\futex/windows.rs:74:(.text+0x18dcc): undefined reference to `_imp_WakeByAddressSingle'
          D:/a/rust/rust/mingw32/bin/../lib/gcc/i686-w64-mingw32/14.2.0/../../../../i686-w64-mingw32/bin/ld.exe: D:\a\rust\rust\build\i686-pc-windows-gnu\stage1-std\i686-pc-windows-gnu\dist\build\std/6fb1d6c928d7072b\out\std-6fb1d6c928d7072b.std.3afac83efc02d1aa-cgu.0.rcgu.o: in function `RNvMNtNtNtNtCs53WIJRyguc8_3std3sys4sync5mutex5futexNtB2_5Mutex14lock_contended':
          /rustc/3d9e5bbe7eb09e8e90d65ddc195235e52056432b/library\std\src\sys\sync\mutex/futex.rs:(.text+0x19748): undefined reference to `_imp_WaitOnAddress'
          D:/a/rust/rust/mingw32/bin/../lib/gcc/i686-w64-mingw32/14.2.0/../../../../i686-w64-mingw32/bin/ld.exe: D:\a\rust\rust\build\i686-pc-windows-gnu\stage1-std\i686-pc-windows-gnu\dist\build\std/6fb1d6c928d7072b\out\std-6fb1d6c928d7072b.std.3afac83efc02d1aa-cgu.0.rcgu.o: in function `RINvNtNtNtNtCs53WIJRyguc8_3std3sys4sync5futex7windows22wake_by_address_singleINtNtNtCs9Rym59Fut0K_4core4sync6atomic6AtomichEEBa_':
          /rustc/3d9e5bbe7eb09e8e90d65ddc195235e52056432b/library\std\src\sys\sync\futex/windows.rs:74:(.text+0x197a8): undefined reference to `_imp_WakeByAddressSingle'
          D:/a/rust/rust/mingw32/bin/../lib/gcc/i686-w64-mingw32/14.2.0/../../../../i686-w64-mingw32/bin/ld.exe: D:\a\rust\rust\build\i686-pc-windows-gnu\stage1-std\i686-pc-windows-gnu\dist\build\std/6fb1d6c928d7072b\out\std-6fb1d6c928d7072b.std.3afac83efc02d1aa-cgu.0.rcgu.o: in function `RNvMNtNtNtNtCs53WIJRyguc8_3std3sys4sync6rwlock5futexNtB2_6RwLock14read_contended':
          /rustc/3d9e5bbe7eb09e8e90d65ddc195235e52056432b/library\std\src\sys\sync\rwlock/futex.rs:(.text+0x197e4): undefined reference to `_imp_WaitOnAddress'
          D:/a/rust/rust/mingw32/bin/../lib/gcc/i686-w64-mingw32/14.2.0/../../../../i686-w64-mingw32/bin/ld.exe: D:\a\rust\rust\build\i686-pc-windows-gnu\stage1-std\i686-pc-windows-gnu\dist\build\std/6fb1d6c928d7072b\out\std-6fb1d6c928d7072b.std.3afac83efc02d1aa-cgu.0.rcgu.o: in function `RINvNtNtNtNtCs53WIJRyguc8_3std3sys4sync5futex7windows15wait_on_addressmEBa_':
          /rustc/3d9e5bbe7eb09e8e90d65ddc195235e52056432b/library\std\src\sys\sync\futex/windows.rs:67:(.text+0x199e9): undefined reference to `_imp_WaitOnAddress'
          D:/a/rust/rust/mingw32/bin/../lib/gcc/i686-w64-mingw32/14.2.0/../../../../i686-w64-mingw32/bin/ld.exe: D:\a\rust\rust\build\i686-pc-windows-gnu\stage1-std\i686-pc-windows-gnu\dist\build\std/6fb1d6c928d7072b\out\std-6fb1d6c928d7072b.std.3afac83efc02d1aa-cgu.0.rcgu.o: in function `RINvNtNtNtNtCs53WIJRyguc8_3std3sys4sync5futex7windows22wake_by_address_singleINtNtNtCs9Rym59Fut0K_4core4sync6atomic6AtomicmEEBa_':
          /rustc/3d9e5bbe7eb09e8e90d65ddc195235e52056432b/library\std\src\sys\sync\futex/windows.rs:74:(.text+0x19a6e): undefined reference to `_imp_WakeByAddressSingle'
          D:/a/rust/rust/mingw32/bin/../lib/gcc/i686-w64-mingw32/14.2.0/../../../../i686-w64-mingw32/bin/ld.exe: /rustc/3d9e5bbe7eb09e8e90d65ddc195235e52056432b/library\std\src\sys\sync\futex/windows.rs:74:(.text+0x19a9d): undefined reference to `_imp_WakeByAddressSingle'
          D:/a/rust/rust/mingw32/bin/../lib/gcc/i686-w64-mingw32/14.2.0/../../../../i686-w64-mingw32/bin/ld.exe: D:\a\rust\rust\build\i686-pc-windows-gnu\stage1-std\i686-pc-windows-gnu\dist\build\std/6fb1d6c928d7072b\out\std-6fb1d6c928d7072b.std.3afac83efc02d1aa-cgu.0.rcgu.o: in function `RINvNtNtNtNtCs53WIJRyguc8_3std3sys4sync5futex7windows19wake_by_address_allINtNtNtCs9Rym59Fut0K_4core4sync6atomic6AtomicmEEBa_':
          /rustc/3d9e5bbe7eb09e8e90d65ddc195235e52056432b/library\std\src\sys\sync\futex/windows.rs:81:(.text+0x19ab1): undefined reference to `_imp_WakeByAddressAll'
          D:/a/rust/rust/mingw32/bin/../lib/gcc/i686-w64-mingw32/14.2.0/../../../../i686-w64-mingw32/bin/ld.exe: D:\a\rust\rust\build\i686-pc-windows-gnu\stage1-std\i686-pc-windows-gnu\dist\build\std/6fb1d6c928d7072b\out\std-6fb1d6c928d7072b.std.3afac83efc02d1aa-cgu.0.rcgu.o: in function `RINvNtNtNtNtCs53WIJRyguc8_3std3sys4sync5futex7windows15wait_on_addressmEBa_':
          /rustc/3d9e5bbe7eb09e8e90d65ddc195235e52056432b/library\std\src\sys\sync\futex/windows.rs:67:(.text+0x19b55): undefined reference to `_imp_WaitOnAddress'
          D:/a/rust/rust/mingw32/bin/../lib/gcc/i686-w64-mingw32/14.2.0/../../../../i686-w64-mingw32/bin/ld.exe: D:\a\rust\rust\build\i686-pc-windows-gnu\stage1-std\i686-pc-windows-gnu\dist\build\std/6fb1d6c928d7072b\out\std-6fb1d6c928d7072b.std.3afac83efc02d1aa-cgu.0.rcgu.o: in function `RINvNtNtNtNtCs53WIJRyguc8_3std3sys4sync5futex7windows22wake_by_address_singleINtNtNtCs9Rym59Fut0K_4core4sync6atomic6AtomichEEBa_':
          /rustc/3d9e5bbe7eb09e8e90d65ddc195235e52056432b/library\std\src\sys\sync\futex/windows.rs:74:(.text+0x19b8b): undefined reference to `_imp_WakeByAddressSingle'
          D:/a/rust/rust/mingw32/bin/../lib/gcc/i686-w64-mingw32/14.2.0/../../../../i686-w64-mingw32/bin/ld.exe: D:\a\rust\rust\build\i686-pc-windows-gnu\stage1-std\i686-pc-windows-gnu\dist\build\std/6fb1d6c928d7072b\out\std-6fb1d6c928d7072b.std.3afac83efc02d1aa-cgu.0.rcgu.o: in function `RINvNtNtNtNtCs53WIJRyguc8_3std3sys4sync5futex7windows15wait_on_addressmEBa_':
          /rustc/3d9e5bbe7eb09e8e90d65ddc195235e52056432b/library\std\src\sys\sync\futex/windows.rs:67:(.text+0x19bd5): undefined reference to `_imp_WaitOnAddress'
          D:/a/rust/rust/mingw32/bin/../lib/gcc/i686-w64-mingw32/14.2.0/../../../../i686-w64-mingw32/bin/ld.exe: D:\a\rust\rust\build\i686-pc-windows-gnu\stage1-std\i686-pc-windows-gnu\dist\build\std/6fb1d6c928d7072b\out\std-6fb1d6c928d7072b.std.3afac83efc02d1aa-cgu.0.rcgu.o: in function `RINvNtNtNtNtCs53WIJRyguc8_3std3sys4sync5futex7windows22wake_by_address_singleINtNtNtCs9Rym59Fut0K_4core4sync6atomic6AtomichEEBa_':
          /rustc/3d9e5bbe7eb09e8e90d65ddc195235e52056432b/library\std\src\sys\sync\futex/windows.rs:74:(.text+0x19bf8): undefined reference to `_imp_WakeByAddressSingle'
          D:/a/rust/rust/mingw32/bin/../lib/gcc/i686-w64-mingw32/14.2.0/../../../../i686-w64-mingw32/bin/ld.exe: D:\a\rust\rust\build\i686-pc-windows-gnu\stage1-std\i686-pc-windows-gnu\dist\build\std/6fb1d6c928d7072b\out\std-6fb1d6c928d7072b.std.3afac83efc02d1aa-cgu.0.rcgu.o: in function `RINvNtNtNtNtCs53WIJRyguc8_3std3sys4sync5futex7windows19wake_by_address_allINtNtNtCs9Rym59Fut0K_4core4sync6atomic6AtomicmEEBa_':
          /rustc/3d9e5bbe7eb09e8e90d65ddc195235e52056432b/library\std\src\sys\sync\futex/windows.rs:81:(.text+0x1b076): undefined reference to `_imp_WakeByAddressAll'
          D:/a/rust/rust/mingw32/bin/../lib/gcc/i686-w64-mingw32/14.2.0/../../../../i686-w64-mingw32/bin/ld.exe: D:\a\rust\rust\build\i686-pc-windows-gnu\stage1-std\i686-pc-windows-gnu\dist\build\std/6fb1d6c928d7072b\out\std-6fb1d6c928d7072b.std.3afac83efc02d1aa-cgu.0.rcgu.o: in function `RINvNtNtNtNtCs53WIJRyguc8_3std3sys4sync5futex7windows15wait_on_addressmEBa_':
          /rustc/3d9e5bbe7eb09e8e90d65ddc195235e52056432b/library\std\src\sys\sync\futex/windows.rs:67:(.text+0x1b0bc): undefined reference to `_imp_WaitOnAddress'
          D:/a/rust/rust/mingw32/bin/../lib/gcc/i686-w64-mingw32/14.2.0/../../../../i686-w64-mingw32/bin/ld.exe: D:\a\rust\rust\build\i686-pc-windows-gnu\stage1-std\i686-pc-windows-gnu\dist\build\std/6fb1d6c928d7072b\out\std-6fb1d6c928d7072b.std.3afac83efc02d1aa-cgu.0.rcgu.o: in function `RINvNtNtNtNtCs53WIJRyguc8_3std3sys4sync5futex7windows22wake_by_address_singleINtNtNtCs9Rym59Fut0K_4core4sync6atomic6AtomichEEBa_':
          /rustc/3d9e5bbe7eb09e8e90d65ddc195235e52056432b/library\std\src\sys\sync\futex/windows.rs:74:(.text+0x1b105): undefined reference to `_imp_WakeByAddressSingle'
          D:/a/rust/rust/mingw32/bin/../lib/gcc/i686-w64-mingw32/14.2.0/../../../../i686-w64-mingw32/bin/ld.exe: /rustc/3d9e5bbe7eb09e8e90d65ddc195235e52056432b/library\std\src\sys\sync\futex/windows.rs:74:(.text+0x1b11c): undefined reference to `_imp_WakeByAddressSingle'
          D:/a/rust/rust/mingw32/bin/../lib/gcc/i686-w64-mingw32/14.2.0/../../../../i686-w64-mingw32/bin/ld.exe: D:\a\rust\rust\build\i686-pc-windows-gnu\stage1-std\i686-pc-windows-gnu\dist\build\std/6fb1d6c928d7072b\out\std-6fb1d6c928d7072b.std.3afac83efc02d1aa-cgu.0.rcgu.o: in function `RNvMs0_NtNtNtNtCs53WIJRyguc8_3std3sys4sync4once5futexNtB5_4Once4call':
          /rustc/3d9e5bbe7eb09e8e90d65ddc195235e52056432b/library\core\src\sync/atomic.rs:(.text+0x1b4c0): undefined reference to `_imp_WaitOnAddress'
          D:/a/rust/rust/mingw32/bin/../lib/gcc/i686-w64-mingw32/14.2.0/../../../../i686-w64-mingw32/bin/ld.exe: D:\a\rust\rust\build\i686-pc-windows-gnu\stage1-std\i686-pc-windows-gnu\dist\build\std/6fb1d6c928d7072b\out\std-6fb1d6c928d7072b.std.3afac83efc02d1aa-cgu.0.rcgu.o: in function `RINvNtNtNtNtCs53WIJRyguc8_3std3sys4sync5futex7windows19wake_by_address_allINtNtNtCs9Rym59Fut0K_4core4sync6atomic6AtomicmEEBa_':
          /rustc/3d9e5bbe7eb09e8e90d65ddc195235e52056432b/library\std\src\sys\sync\futex/windows.rs:81:(.text+0x1b555): undefined reference to `_imp_WakeByAddressAll'
          D:/a/rust/rust/mingw32/bin/../lib/gcc/i686-w64-mingw32/14.2.0/../../../../i686-w64-mingw32/bin/ld.exe: /rustc/3d9e5bbe7eb09e8e90d65ddc195235e52056432b/library\std\src\sys\sync\futex/windows.rs:81:(.text+0x1b586): undefined reference to `_imp_WakeByAddressAll'
          D:/a/rust/rust/mingw32/bin/../lib/gcc/i686-w64-mingw32/14.2.0/../../../../i686-w64-mingw32/bin/ld.exe: D:\a\rust\rust\build\i686-pc-windows-gnu\stage1-std\i686-pc-windows-gnu\dist\build\std/6fb1d6c928d7072b\out\std-6fb1d6c928d7072b.std.3afac83efc02d1aa-cgu.0.rcgu.o: in function `RINvNtNtNtNtCs53WIJRyguc8_3std3sys4sync5futex7windows15wait_on_addressmEBa_':
          /rustc/3d9e5bbe7eb09e8e90d65ddc195235e52056432b/library\std\src\sys\sync\futex/windows.rs:67:(.text+0x1b5da): undefined reference to `_imp_WaitOnAddress'
          D:/a/rust/rust/mingw32/bin/../lib/gcc/i686-w64-mingw32/14.2.0/../../../../i686-w64-mingw32/bin/ld.exe: D:\a\rust\rust\build\i686-pc-windows-gnu\stage1-std\i686-pc-windows-gnu\dist\build\std/6fb1d6c928d7072b\out\std-6fb1d6c928d7072b.std.3afac83efc02d1aa-cgu.0.rcgu.o: in function `RNvMs0_NtNtNtNtCs53WIJRyguc8_3std3sys4sync4once5futexNtB5_4Once4wait':
          /rustc/3d9e5bbe7eb09e8e90d65ddc195235e52056432b/library\std\src\sys\sync\once/futex.rs:(.text+0x1b64b): undefined reference to `_imp_WaitOnAddress'
          D:/a/rust/rust/mingw32/bin/../lib/gcc/i686-w64-mingw32/14.2.0/../../../../i686-w64-mingw32/bin/ld.exe: /rustc/3d9e5bbe7eb09e8e90d65ddc195235e52056432b/library\std\src\sys\sync\once/futex.rs:(.text+0x1b6a3): undefined reference to `_imp_WaitOnAddress'
          D:/a/rust/rust/mingw32/bin/../lib/gcc/i686-w64-mingw32/14.2.0/../../../../i686-w64-mingw32/bin/ld.exe: D:\a\rust\rust\build\i686-pc-windows-gnu\stage1-std\i686-pc-windows-gnu\dist\build\std/6fb1d6c928d7072b\out\std-6fb1d6c928d7072b.std.3afac83efc02d1aa-cgu.0.rcgu.o: in function `RINvNtNtNtNtCs53WIJRyguc8_3std3sys4sync5futex7windows22wake_by_address_singleINtNtNtCs9Rym59Fut0K_4core4sync6atomic6AtomichEEBa_':
          /rustc/3d9e5bbe7eb09e8e90d65ddc195235e52056432b/library\std\src\sys\sync\futex/windows.rs:74:(.text+0x1f237): undefined reference to `_imp_WakeByAddressSingle'
          D:/a/rust/rust/mingw32/bin/../lib/gcc/i686-w64-mingw32/14.2.0/../../../../i686-w64-mingw32/bin/ld.exe: /rustc/3d9e5bbe7eb09e8e90d65ddc195235e52056432b/library\std\src\sys\sync\futex/windows.rs:74:(.text+0x20081): undefined reference to `_imp_WakeByAddressSingle'
          D:/a/rust/rust/mingw32/bin/../lib/gcc/i686-w64-mingw32/14.2.0/../../../../i686-w64-mingw32/bin/ld.exe: D:\a\rust\rust\build\i686-pc-windows-gnu\stage1-std\i686-pc-windows-gnu\dist\build\std/6fb1d6c928d7072b\out\std-6fb1d6c928d7072b.std.3afac83efc02d1aa-cgu.0.rcgu.o: in function `RINvNtCs9Rym59Fut0K_4core3ptr9drop_glueINtNtB4_6result6ResultINtNtNtNtCs53WIJRyguc8_3std4sync6poison5mutex10MutexGuarduEINtB12_11PoisonErrorBX_EEEB16_':
          /rustc/3d9e5bbe7eb09e8e90d65ddc195235e52056432b/library\core\src\ptr/mod.rs:848:(.text+0x29edf): undefined reference to `_imp_WakeByAddressSingle'
          D:/a/rust/rust/mingw32/bin/../lib/gcc/i686-w64-mingw32/14.2.0/../../../../i686-w64-mingw32/bin/ld.exe: D:\a\rust\rust\build\i686-pc-windows-gnu\stage1-std\i686-pc-windows-gnu\dist\build\std/6fb1d6c928d7072b\out\std-6fb1d6c928d7072b.std.3afac83efc02d1aa-cgu.0.rcgu.o: in function `RINvNtNtNtNtCs53WIJRyguc8_3std3sys4sync5futex7windows15wait_on_addresshEBa_':
          /rustc/3d9e5bbe7eb09e8e90d65ddc195235e52056432b/library\std\src\sys\sync\futex/windows.rs:67:(.text+0x2bb79): undefined reference to `_imp_WaitOnAddress'
          D:/a/rust/rust/mingw32/bin/../lib/gcc/i686-w64-mingw32/14.2.0/../../../../i686-w64-mingw32/bin/ld.exe: D:\a\rust\rust\build\i686-pc-windows-gnu\stage1-std\i686-pc-windows-gnu\dist\build\std/6fb1d6c928d7072b\out\std-6fb1d6c928d7072b.std.3afac83efc02d1aa-cgu.0.rcgu.o: in function `RNvMs_NtNtCs53WIJRyguc8_3std6thread6threadNtB4_6Thread4park':
          /rustc/3d9e5bbe7eb09e8e90d65ddc195235e52056432b/library\std\src\thread/thread.rs:(.text+0x2bd0c): undefined reference to `_imp_WaitOnAddress'
          D:/a/rust/rust/mingw32/bin/../lib/gcc/i686-w64-mingw32/14.2.0/../../../../i686-w64-mingw32/bin/ld.exe: D:\a\rust\rust\build\i686-pc-windows-gnu\stage1-std\i686-pc-windows-gnu\dist\build\std/6fb1d6c928d7072b\out\std-6fb1d6c928d7072b.std.3afac83efc02d1aa-cgu.0.rcgu.o: in function `RINvNtNtNtNtCs53WIJRyguc8_3std3sys4sync5futex7windows22wake_by_address_singleINtNtNtCs9Rym59Fut0K_4core4sync6atomic6AtomichEEBa_':
          /rustc/3d9e5bbe7eb09e8e90d65ddc195235e52056432b/library\std\src\sys\sync\futex/windows.rs:74:(.text+0x3b79d): undefined reference to `_imp_WakeByAddressSingle'
          D:/a/rust/rust/mingw32/bin/../lib/gcc/i686-w64-mingw32/14.2.0/../../../../i686-w64-mingw32/bin/ld.exe: D:\a\rust\rust\build\i686-pc-windows-gnu\stage1-std\i686-pc-windows-gnu\dist\build\std/6fb1d6c928d7072b\out\std-6fb1d6c928d7072b.std.3afac83efc02d1aa-cgu.0.rcgu.o: in function `RNvNtNtNtCs53WIJRyguc8_3std3sys6random7windows10fill_bytes':
          /rustc/3d9e5bbe7eb09e8e90d65ddc195235e52056432b/library\std\src\sys\random/windows.rs:6:(.text+0x3cc99): undefined reference to `_imp_ProcessPrng'
          D:/a/rust/rust/mingw32/bin/../lib/gcc/i686-w64-mingw32/14.2.0/../../../../i686-w64-mingw32/bin/ld.exe: D:\a\rust\rust\build\i686-pc-windows-gnu\stage1-std\i686-pc-windows-gnu\dist\build\std/6fb1d6c928d7072b\out\std-6fb1d6c928d7072b.std.3afac83efc02d1aa-cgu.0.rcgu.o: in function `RINvNtNtNtNtCs53WIJRyguc8_3std3sys4sync5futex7windows15wait_on_addresshEBa_':
          /rustc/3d9e5bbe7eb09e8e90d65ddc195235e52056432b/library\std\src\sys\sync\futex/windows.rs:67:(.text+0x3d22a): undefined reference to `_imp_WaitOnAddress'
          D:/a/rust/rust/mingw32/bin/../lib/gcc/i686-w64-mingw32/14.2.0/../../../../i686-w64-mingw32/bin/ld.exe: D:\a\rust\rust\build\i686-pc-windows-gnu\stage1-std\i686-pc-windows-gnu\dist\build\std/6fb1d6c928d7072b\out\std-6fb1d6c928d7072b.std.3afac83efc02d1aa-cgu.0.rcgu.o: in function `RNvNtNtCs53WIJRyguc8_3std6thread9functions4park':
          /rustc/3d9e5bbe7eb09e8e90d65ddc195235e52056432b/library\std\src\thread/functions.rs:(.text+0x3d38e): undefined reference to `_imp_WaitOnAddress'
          D:/a/rust/rust/mingw32/bin/../lib/gcc/i686-w64-mingw32/14.2.0/../../../../i686-w64-mingw32/bin/ld.exe: D:\a\rust\rust\build\i686-pc-windows-gnu\stage1-std\i686-pc-windows-gnu\dist\build\std/6fb1d6c928d7072b\out\std-6fb1d6c928d7072b.std.3afac83efc02d1aa-cgu.0.rcgu.o: in function `RNvNtNtNtCs53WIJRyguc8_3std3sys6random7windows10fill_bytes':
          /rustc/3d9e5bbe7eb09e8e90d65ddc195235e52056432b/library\std\src\sys\random/windows.rs:6:(.text+0x4928b): undefined reference to `_imp_ProcessPrng'
          D:/a/rust/rust/mingw32/bin/../lib/gcc/i686-w64-mingw32/14.2.0/../../../../i686-w64-mingw32/bin/ld.exe: D:\a\rust\rust\build\i686-pc-windows-gnu\stage1-std\i686-pc-windows-gnu\dist\build\std/6fb1d6c928d7072b\out\std-6fb1d6c928d7072b.std.3afac83efc02d1aa-cgu.0.rcgu.o: in function `RINvNtNtNtNtCs53WIJRyguc8_3std3sys4sync5futex7windows22wake_by_address_singleINtNtNtCs9Rym59Fut0K_4core4sync6atomic6AtomichEEBa_':
          /rustc/3d9e5bbe7eb09e8e90d65ddc195235e52056432b/library\std\src\sys\sync\futex/windows.rs:74:(.text+0x4a840): undefined reference to `_imp_WakeByAddressSingle'
          D:/a/rust/rust/mingw32/bin/../lib/gcc/i686-w64-mingw32/14.2.0/../../../../i686-w64-mingw32/bin/ld.exe: /rustc/3d9e5bbe7eb09e8e90d65ddc195235e52056432b/library\std\src\sys\sync\futex/windows.rs:74:(.text+0x4ca41): undefined reference to `_imp_WakeByAddressSingle'
          D:/a/rust/rust/mingw32/bin/../lib/gcc/i686-w64-mingw32/14.2.0/../../../../i686-w64-mingw32/bin/ld.exe: /rustc/3d9e5bbe7eb09e8e90d65ddc195235e52056432b/library\std\src\sys\sync\futex/windows.rs:74:(.text+0x4ea17): undefined reference to `_imp_WakeByAddressSingle'
          D:/a/rust/rust/mingw32/bin/../lib/gcc/i686-w64-mingw32/14.2.0/../../../../i686-w64-mingw32/bin/ld.exe: /rustc/3d9e5bbe7eb09e8e90d65ddc195235e52056432b/library\std\src\sys\sync\futex/windows.rs:74:(.text+0x4f0f8): undefined reference to `_imp_WakeByAddressSingle'
          D:/a/rust/rust/mingw32/bin/../lib/gcc/i686-w64-mingw32/14.2.0/../../../../i686-w64-mingw32/bin/ld.exe: /rustc/3d9e5bbe7eb09e8e90d65ddc195235e52056432b/library\std\src\sys\sync\futex/windows.rs:74:(.text+0x4f1b8): undefined reference to `_imp_WakeByAddressSingle'
          D:/a/rust/rust/mingw32/bin/../lib/gcc/i686-w64-mingw32/14.2.0/../../../../i686-w64-mingw32/bin/ld.exe: D:\a\rust\rust\build\i686-pc-windows-gnu\stage1-std\i686-pc-windows-gnu\dist\build\std/6fb1d6c928d7072b\out\std-6fb1d6c928d7072b.std.3afac83efc02d1aa-cgu.0.rcgu.o:/rustc/3d9e5bbe7eb09e8e90d65ddc195235e52056432b/library\std\src\sys\sync\futex/windows.rs:74: more undefined references to `_imp_WakeByAddressSingle' follow
          D:/a/rust/rust/mingw32/bin/../lib/gcc/i686-w64-mingw32/14.2.0/../../../../i686-w64-mingw32/bin/ld.exe: D:\a\rust\rust\build\i686-pc-windows-gnu\stage1-std\i686-pc-windows-gnu\dist\build\std/6fb1d6c928d7072b\out\std-6fb1d6c928d7072b.std.3afac83efc02d1aa-cgu.0.rcgu.o: in function `RINvNtNtNtNtCs53WIJRyguc8_3std3sys4sync5futex7windows19wake_by_address_allINtNtNtCs9Rym59Fut0K_4core4sync6atomic6AtomicmEEBa_':
          /rustc/3d9e5bbe7eb09e8e90d65ddc195235e52056432b/library\std\src\sys\sync\futex/windows.rs:81:(.text+0x547b5): undefined reference to `_imp_WakeByAddressAll'
          D:/a/rust/rust/mingw32/bin/../lib/gcc/i686-w64-mingw32/14.2.0/../../../../i686-w64-mingw32/bin/ld.exe: D:\a\rust\rust\build\i686-pc-windows-gnu\stage1-std\i686-pc-windows-gnu\dist\build\std/6fb1d6c928d7072b\out\std-6fb1d6c928d7072b.std.3afac83efc02d1aa-cgu.0.rcgu.o: in function `RINvNtNtNtNtCs53WIJRyguc8_3std3sys4sync5futex7windows22wake_by_address_singleINtNtNtCs9Rym59Fut0K_4core4sync6atomic6AtomichEEBa_':
          /rustc/3d9e5bbe7eb09e8e90d65ddc195235e52056432b/library\std\src\sys\sync\futex/windows.rs:74:(.text+0x55353): undefined reference to `_imp_WakeByAddressSingle'
          D:/a/rust/rust/mingw32/bin/../lib/gcc/i686-w64-mingw32/14.2.0/../../../../i686-w64-mingw32/bin/ld.exe: /rustc/3d9e5bbe7eb09e8e90d65ddc195235e52056432b/library\std\src\sys\sync\futex/windows.rs:74:(.text+0x55423): undefined reference to `_imp_WakeByAddressSingle'
          D:/a/rust/rust/mingw32/bin/../lib/gcc/i686-w64-mingw32/14.2.0/../../../../i686-w64-mingw32/bin/ld.exe: /rustc/3d9e5bbe7eb09e8e90d65ddc195235e52056432b/library\std\src\sys\sync\futex/windows.rs:74:(.text+0x5563d): undefined reference to `_imp_WakeByAddressSingle'
          D:/a/rust/rust/mingw32/bin/../lib/gcc/i686-w64-mingw32/14.2.0/../../../../i686-w64-mingw32/bin/ld.exe: /rustc/3d9e5bbe7eb09e8e90d65ddc195235e52056432b/library\std\src\sys\sync\futex/windows.rs:74:(.text+0x556b5): undefined reference to `_imp_WakeByAddressSingle'
          D:/a/rust/rust/mingw32/bin/../lib/gcc/i686-w64-mingw32/14.2.0/../../../../i686-w64-mingw32/bin/ld.exe: /rustc/3d9e5bbe7eb09e8e90d65ddc195235e52056432b/library\std\src\sys\sync\futex/windows.rs:74:(.text+0x55752): undefined reference to `_imp_WakeByAddressSingle'
          D:/a/rust/rust/mingw32/bin/../lib/gcc/i686-w64-mingw32/14.2.0/../../../../i686-w64-mingw32/bin/ld.exe: D:\a\rust\rust\build\i686-pc-windows-gnu\stage1-std\i686-pc-windows-gnu\dist\build\std/6fb1d6c928d7072b\out\std-6fb1d6c928d7072b.std.3afac83efc02d1aa-cgu.0.rcgu.o:/rustc/3d9e5bbe7eb09e8e90d65ddc195235e52056432b/library\std\src\sys\sync\futex/windows.rs:74: more undefined references to `_imp_WakeByAddressSingle' follow
          collect2.exe: 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)

@mati865

mati865 commented Aug 24, 2026

Copy link
Copy Markdown
Member

I can look into that failure tomorrow. Looks like we don't prefix import symbols correctly on i686 windows GNU for some reason.

Okay, I couldn't resist.
This refactor will make it clearer how things work: #161701 and this is how this PR should look like (modulo updated comments): mati865@fe906617

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

relnotes Marks issues that should be documented in the release notes of the next release. S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants