Files
rust/compiler/rustc_codegen_ssa/src
Jonathan Brouwer 35c2fcfe42 Rollup merge of #158294 - AsakuraMizu:windows-drectve-export, r=oli-obk
Use .drectve for MSVC DLL exports

This is a continuation of rust-lang/rust#142568.

This fixes the i686 MSVC issue mentioned there: `.def` files accept undecorated names, but `.drectve` `/EXPORT` needs decorated symbol names. The public export name is preserved with `EXPORTAS`.

It's worth noting that EII with defaults now also works on MSVC.
2026-07-01 17:44:37 +02:00
..