diff options
| author | Oneirical <manchot@videotron.ca> | 2024-06-09 16:43:24 -0400 |
|---|---|---|
| committer | Oneirical <manchot@videotron.ca> | 2024-06-19 11:50:22 -0400 |
| commit | b3c51323b507192521cfa264a6ab129fcdb85b34 (patch) | |
| tree | 5f84a3d54a7a075d828072ffebc28d5ee3cd2de0 /src | |
| parent | 03a4259c8b925330d5425e61e7553351c21e55be (diff) | |
| download | rust-b3c51323b507192521cfa264a6ab129fcdb85b34.tar.gz rust-b3c51323b507192521cfa264a6ab129fcdb85b34.zip | |
make assert_stderr_contains print its contents on panic
Diffstat (limited to 'src')
| m--------- | src/doc/book | 0 | ||||
| m--------- | src/tools/cargo | 0 | ||||
| -rw-r--r-- | src/tools/run-make-support/src/rustc.rs | 12 |
3 files changed, 0 insertions, 12 deletions
diff --git a/src/doc/book b/src/doc/book -Subproject 5228bfac8267ad24659a81b92ec5417976b5edb +Subproject 45c1a6d69edfd1fc91fb7504cb73958dbd09441 diff --git a/src/tools/cargo b/src/tools/cargo -Subproject 4dcbca118ab7f9ffac4728004c983754bc6a04f +Subproject a1f47ec3f7cd076986f1bfcd7061f2e8cb1a726 diff --git a/src/tools/run-make-support/src/rustc.rs b/src/tools/run-make-support/src/rustc.rs index 7e5a637e20e..289d847a572 100644 --- a/src/tools/run-make-support/src/rustc.rs +++ b/src/tools/run-make-support/src/rustc.rs @@ -236,18 +236,6 @@ impl Rustc { self } - /// Add an extra argument to prepend the linker invocation, via `-Zpre-link-arg`. - pub fn pre_link_arg(&mut self, link_arg: &str) -> &mut Self { - self.cmd.arg(format!("-Zpre-link-arg={link_arg}")); - self - } - - /// Add multiple extra arguments to the linker invocation, via `-Zpre-link-args`. - pub fn pre_link_args(&mut self, link_args: &str) -> &mut Self { - self.cmd.arg(format!("-Zpre-link-args={link_args}")); - self - } - /// Specify a stdin input pub fn stdin<I: AsRef<[u8]>>(&mut self, input: I) -> &mut Self { self.cmd.set_stdin(input.as_ref().to_vec().into_boxed_slice()); |
