Fails to link -no-pie
executable that depends on a proc macro
#5115
Labels
A-linkage
Area: linker issues, dylib, cdylib, shared libraries, so
A-rustflags
Area: rustflags
S-triage
Status: This issue is waiting on initial triage.
The following script reproduces the issue. We create a library
mac
which is a procedural macro (an empty one is sufficient) and a binaryrepro
which depends onmac
.The link step fails with:
Originally reported in serde-rs/serde#1166. @fintelia
The text was updated successfully, but these errors were encountered: