Closed
Description
When I change debug=false to debug=true in ring's Cargo.toml (for the release/bench/test profiles), the x86_64-pc-windows-msvc build fails with
error LNK2017: 'ADDR32' relocation to '.debug_str' invalid without /LARGEADDRESSAWARE:NO.
Apparently, This is due to https://llvm.org/bugs/show_bug.cgi?id=15393 and is caused by the presence of DWARF debugging info. IIRC, @alexcrichton said that DWARF debugging info was used for unwinding. But, I think that might have changed already? If so, can we drop the DWARF symbols from the x86_64-pc-windows-msvc build?
Note that in Cargo.toml we cannot (AFAICT) set a profile's debug setting on a per-platform basis.