STATUS_STACK_BUFFER_OVERRUN on Windows 11 when using rust-lld with dylib #100519
Labels
A-linkage
Area: linking into static, shared libraries and binaries
A-linkers
Area: linkers... you gotta love linkers
C-bug
Category: This is a bug.
O-windows
Operating system: Windows
S-needs-repro
Status: This issue has no reproduction and needs a reproduction to make progress.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
On Windows 11 when linking a
dylib
which usesXInput1_4.dll
usingrust-lld
the compiled binary will crash will a message:STATUS_STACK_BUFFER_OVERRUN
.This issue was originally reported on Bevy project: bevyengine/bevy#2921
Here is a minimal example that reproduces the error: https://github.com/afonsolage/xinput_link_example
The error won't happens when using MSVC
link.exe
Meta
rustc --version --verbose
:Windows version:
The text was updated successfully, but these errors were encountered: