Closed
Description
I posted How do I use a different libstdc++.a with Rust?, but after some more debugging, it looks like libpthread doesn't have any exports. Why doesn't it?
dumpbin /exports "C:\Users\camer\.rustup\toolchains\nightly-x86_64-pc-windows-gnu\lib\rustlib\x86_64-pc-windows-gnu\lib\libpthread.a"
I was expecting it to have exports like other libraries in the directory do:
dumpbin /exports "C:\Users\camer\.rustup\toolchains\nightly-x86_64-pc-windows-gnu\lib\rustlib\x86_64-pc-windows-gnu\lib\libcrypt32.a"
I was expecting it to have the same exports as other libpthread libraries:
dumpbin /exports "C:\Octave\Octave-4.2.1\lib\libpthread.dll.a"
Looking around at the issues here, it looks like it may be related to:
- [Windows] Enable building rustc with "pthreads" flavor of mingw. [Windows] Enable building rustc with "pthreads" flavor of mingw. #40805