Repro steps:
-
Open the "x86 Native Tools Command Prompt for VS" to ensure that you're using the x86 C++ toolchain.
-
Clone the repo.
git clone https://github.com/kennykerr/link-rs
- Change to folder.
cd link-rs
- Run test.cmd to build both exporting DLL and importing Rust project.
test.cmd