We are linking a Rust static library into a Windows C++ app built with MSVC.
There is no console output from the Rust library.
Is there some cargo build setting we might be missing?
We are using
cargo +stable-x86_64-pc-windows-msvc build to build the library, which outputs a
.lib file. We also linking the following static libraries:
userenv.lib ws2_32.lib setupapi.lib
The console output we're expecting to see is from
println! statements in the Rust code.