-
Notifications
You must be signed in to change notification settings - Fork 13.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migrate run-make/link-arg
to rmake.rs
#126120
Migrate run-make/link-arg
to rmake.rs
#126120
Conversation
Some changes occurred in run-make tests. cc @jieyouxu |
use run_make_support::{rustc, tmp_dir}; | ||
|
||
fn main() { | ||
let out = rustc() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With the new run-make API, this would looks like this:
let out = rustc()
.link_arg("-lfoo")
.link_arg("-lbar")
.print("link-args")
.input("empty.rs")
.run();
out.assert_stdout_contains("lfoo");
out.assert_stdout_contains("lbar");
assert_stdout_contains
should be added here.
Oh, there is actually a PR for this already (#125500). We should update the tracking issue faster, too many PRs 😆 |
Sorry again, I keep forgetting to update the tracking issue. I need to remember when reviewing rmake.rs PRs to:
And not just "review the PR" lol. |
Hehe, it was bound to happen eventually, these are being produced in industrial quantities. |
Ah indeed, closing then! :) |
Part of #121876.
r? @jieyouxu