run-make: Enable msvc for no-duplicate-libs and zero-extend-abi-param-passing by ChrisDenton · Pull Request #128649 · rust-lang/rust (original) (raw)

The common thing between these two tests is to use #[link(..., kind="static")] so that it doesn't try to do a DLL import.

zero-extend-abi-param-passing also needs to have an optimized static library but there's only helper function for a non-optimized version. Rather than copy/pasting the code (and adding the optimization flag) I reused the same code so that it more easily be kept in sync.

try-job: i686-msvc
try-job: x86_64-msvc