Skip to content

Conversation

GuillaumeGomez
Copy link
Member

Part of #121876.

r? @jieyouxu

@rustbot rustbot added A-testsuite Area: The testsuite used to check the correctness of rustc S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) labels Jun 7, 2024
@rustbot
Copy link
Collaborator

rustbot commented Jun 7, 2024

Some changes occurred in run-make tests.

cc @jieyouxu

use run_make_support::{rustc, tmp_dir};

fn main() {
let out = rustc()
Copy link
Member

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.

@Kobzol
Copy link
Member

Kobzol commented Jun 9, 2024

Oh, there is actually a PR for this already (#125500). We should update the tracking issue faster, too many PRs 😆

@jieyouxu
Copy link
Member

jieyouxu commented Jun 9, 2024

Sorry again, I keep forgetting to update the tracking issue. I need to remember when reviewing rmake.rs PRs to:

  • Update the tracking issue to link the PR
  • Add the PR to the rmake.rs GH project

And not just "review the PR" lol.

@Kobzol Kobzol added the A-run-make Area: port run-make Makefiles to rmake.rs label Jun 9, 2024
@Oneirical
Copy link
Contributor

Oh, there is actually a PR for this already (#125500). We should update the tracking issue faster, too many PRs 😆

Hehe, it was bound to happen eventually, these are being produced in industrial quantities.

@GuillaumeGomez
Copy link
Member Author

Ah indeed, closing then! :)

@GuillaumeGomez GuillaumeGomez deleted the migrate-run-make-link-arg branch June 9, 2024 21:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-run-make Area: port run-make Makefiles to rmake.rs A-testsuite Area: The testsuite used to check the correctness of rustc S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants