fix(windows-gnu): suppress MinGW auto-exports for cdylib
This commit is contained in:
1 parent
920a31fa0f
commit
d2074173b7
1 file changed
+4
@@ -0,0 +1,4 @@
|
|||||||
|
[target.x86_64-pc-windows-gnu]
|
||||||
|
# MinGW's PE linker auto-exports Rust symbols from the desktop-only cdylib,
|
||||||
|
# which overflows the export ordinal table during GNU builds/tests.
|
||||||
|
rustflags = ["-C", "link-arg=-Wl,--exclude-all-symbols"]
|
||||||
Reference in new issue
Block a user