Auto merge of #125613 - ChrisDenton:windows-recipie, r=jieyouxu
Use `rmake` for `windows-` run-make tests Convert some Makefile tests to recipes. I renamed "issue-85441" to "windows-ws2_32" as I think it's slightly more descriptive. EDIT: `llvm-readobj` seems to work for reading DLL imports so I've used that instead of `objdump`. cc #121876
This commit is contained in:
commit
e9b7aa08f7
18 changed files with 97 additions and 62 deletions
|
|
@ -203,6 +203,12 @@ impl Rustc {
|
|||
self
|
||||
}
|
||||
|
||||
/// Specify the linker
|
||||
pub fn linker(&mut self, linker: &str) -> &mut Self {
|
||||
self.cmd.arg(format!("-Clinker={linker}"));
|
||||
self
|
||||
}
|
||||
|
||||
/// Get the [`Output`] of the finished process.
|
||||
#[track_caller]
|
||||
pub fn command_output(&mut self) -> ::std::process::Output {
|
||||
|
|
|
|||
|
|
@ -116,7 +116,6 @@ run-make/issue-83112-incr-test-moved-file/Makefile
|
|||
run-make/issue-84395-lto-embed-bitcode/Makefile
|
||||
run-make/issue-85019-moved-src-dir/Makefile
|
||||
run-make/issue-85401-static-mir/Makefile
|
||||
run-make/issue-85441/Makefile
|
||||
run-make/issue-88756-default-output/Makefile
|
||||
run-make/issue-97463-abi-param-passing/Makefile
|
||||
run-make/jobserver-error/Makefile
|
||||
|
|
@ -272,8 +271,4 @@ run-make/volatile-intrinsics/Makefile
|
|||
run-make/wasm-exceptions-nostd/Makefile
|
||||
run-make/wasm-override-linker/Makefile
|
||||
run-make/weird-output-filenames/Makefile
|
||||
run-make/windows-binary-no-external-deps/Makefile
|
||||
run-make/windows-safeseh/Makefile
|
||||
run-make/windows-spawn/Makefile
|
||||
run-make/windows-subsystem/Makefile
|
||||
run-make/x86_64-fortanix-unknown-sgx-lvi/Makefile
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue