Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: fix sspi-ffi test job for Windows (#98)
On Windows, we rename symbols using a .def file. For that, we emit a cargo instruction. > cargo:rustc-link-arg=/DEF:sspi.def However, when attempting to run unit tests this causes an error. ``` Caused by: could not execute process `<redacted>` (never executed) Caused by: %1 is not a valid Win32 application. (os error 193) ``` There is currently no built-in way to check if cargo is going to run the tests from the build.rs itself: rust-lang/cargo#4001 This commit adds a new environment variable that when set prevent the instruction emission.
- Loading branch information