// build.rs — linreg-core
//
// On 32-bit Windows MSVC (i686-pc-windows-msvc) the linker decorates
// `extern "system"` (stdcall) exports as `_FunctionName@N`.
// VBA `Declare` statements need plain names, so we supply a .def file that
// exports every symbol with its undecorated name.
//
// This only fires when:
// • the `ffi` feature is enabled (i.e. you're building the DLL), AND
// • the target is i686 / x86 Windows MSVC.
//
// x86_64 Windows does not use stdcall decoration, so no .def file is needed
// there.