Migrate run make const fn mir by GuillaumeGomez · Pull Request #126270 · rust-lang/rust (original) (raw)

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 andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation21 Commits3 Checks6 Files changed

Conversation

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters

[ Show hidden characters]({{ revealButtonHref }})

GuillaumeGomez

@rustbot rustbot added 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)

labels

Jun 11, 2024

@rustbot

This PR modifies tests/run-make/. If this PR is trying to port a Makefile
run-make test to use rmake.rs, please update the
run-make port tracking issue
so we can track our progress. You can either modify the tracking issue
directly, or you can comment on the tracking issue and link this PR.

cc @jieyouxu

The run-make-support library was changed

cc @jieyouxu

jieyouxu

Comment on lines +103 to +109

// If we can bless (meaning we have a file to write into and the `RUSTC_BLESS_TEST`
// environment variable set), then we write into the file and return.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll take note to also write this into the support library docs, we probably also should document this in rustc-dev-guide for run-make tests?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suppose so. Didn't know there was a guide. ^^'

@jieyouxu

@rustbot rustbot added S-waiting-on-author

Status: This is awaiting some action (such as code changes or more information) from the author.

and removed S-waiting-on-review

Status: Awaiting review from the assignee but also interested parties.

labels

Jun 12, 2024

@GuillaumeGomez

For the dev guide, I'll need to send a PR to the target repository so nothing I can do here directly. Applied suggestion for the test.

@bors ready

jieyouxu

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, just one suggestion about using fs_wrapper, then r=me after CI is green.

(Also bors doesn't know about ready, only rustbot does 😆)

@GuillaumeGomez

(Also bors doesn't know about ready, only rustbot does 😆)

Too many bots. 😅

jieyouxu

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@rust-log-analyzer

This comment has been minimized.

@GuillaumeGomez

@GuillaumeGomez

@GuillaumeGomez

Not sure why it failed in the GCC backend. Rebased, let's see if it's happy now.

@rust-log-analyzer

This comment has been minimized.

@GuillaumeGomez

@GuillaumeGomez

@bors

📌 Commit 5f4111f has been approved by jieyouxu

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors

Status: Waiting on bors to run and complete tests. Bors will change the label on completion.

and removed S-waiting-on-author

Status: This is awaiting some action (such as code changes or more information) from the author.

labels

Jun 13, 2024

matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request

Jun 13, 2024

@matthiaskrgr

…nst_fn_mir, r=jieyouxu

Migrate run make const fn mir

Part of rust-lang#121876.

r? @jieyouxu

matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request

Jun 14, 2024

@matthiaskrgr

…nst_fn_mir, r=jieyouxu

Migrate run make const fn mir

Part of rust-lang#121876.

r? @jieyouxu

bors added a commit to rust-lang-ci/rust that referenced this pull request

Jun 14, 2024

@bors

…iaskrgr

Rollup of 10 pull requests

Successful merges:

r? @ghost @rustbot modify labels: rollup

bors added a commit to rust-lang-ci/rust that referenced this pull request

Jun 14, 2024

@bors

…iaskrgr

Rollup of 5 pull requests

Successful merges:

r? @ghost @rustbot modify labels: rollup

rust-timer added a commit to rust-lang-ci/rust that referenced this pull request

Jun 14, 2024

@rust-timer

Rollup merge of rust-lang#126270 - GuillaumeGomez:migrate-run-make-const_fn_mir, r=jieyouxu

Migrate run make const fn mir

Part of rust-lang#121876.

r? @jieyouxu

bjorn3

@@ -0,0 +1,8 @@
// The `needs-unwind -Cpanic=abort` gives a different MIR output.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should have been //@ needs-unwind. # needs-unwind in Makefile tests ignores the test when -Cpanic=abort is the default, like with cg_clif or when compiling for wasm.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, fixing it and reverting your mir changes as well.

GuillaumeGomez added a commit to GuillaumeGomez/rust that referenced this pull request

Jun 17, 2024

@GuillaumeGomez

…ion, r=bjorn3

Add run-make/const_fn_mir missing test annotation

Fixes comment from rust-lang#126270.

r? @bjorn3

rust-timer added a commit to rust-lang-ci/rust that referenced this pull request

Jun 17, 2024

@rust-timer

Rollup merge of rust-lang#126580 - GuillaumeGomez:add-missing-annotation, r=bjorn3

Add run-make/const_fn_mir missing test annotation

Fixes comment from rust-lang#126270.

r? @bjorn3

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-bors

Status: Waiting on bors to run and complete tests. Bors will change the label on completion.

T-bootstrap

Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)