Migrate symbol-mangling-hashed
to rmake.rs by lolbinarycat · Pull Request #128567 · 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
Conversation3 Commits3 Checks0 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 }})
depends on #128314, and must not be merged before it
uses helper functions added in rust-lang#128147, must not be merged before that PR.
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @jieyouxu (or someone else) some time within the next two weeks.
Please see the contribution instructions for more information. Namely, in order to ensure the minimum review times lag, PR authors and assigned reviewers should ensure that the review label (S-waiting-on-review
and S-waiting-on-author
) stays updated, invoking these commands when appropriate:
@rustbot author
: the review is finished, PR author should check the comments and take action accordingly@rustbot review
: the author is ready for a review, this PR will be queued again in the reviewer's queue
rustbot added A-run-make
Area: port run-make Makefiles to rmake.rs
Area: The testsuite used to check the correctness of rustc
Status: Awaiting review from the assignee but also interested parties.
Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
labels
jieyouxu changed the title
Symbol mangling hashed rmake Migrate symbol-mangling-hashed
to rmake.rs
Status: Blocked on something else such as an RFC or other implementation work.
and removed S-waiting-on-review
Status: Awaiting review from the assignee but also interested parties.
labels
jieyouxu added S-waiting-on-review
Status: Awaiting review from the assignee but also interested parties.
and removed S-blocked
Status: Blocked on something else such as an RFC or other implementation work.
labels
This is superseded by #135768 (with attribution), thanks for your PR!
bors added a commit to rust-lang-ci/rust that referenced this pull request
…hed, r=
tests: Port symbol-mangling-hashed
to rmake.rs
Part of rust-lang#121876.
This PR supersedes rust-lang#128567 and is co-authored with @lolbinarycat.
Summary
This PR ports tests/run-make/symbol-mangling-hashed
to rmake.rs. Notable differences when compared to the Makefile version includes:
- It's no longer limited to linux + x86_64 only. In particular, this now is exercised on darwin and windows (esp. msvc) too.
- The test uses
object
crate to be more precise in the filtering, and avoids relying on parsing the human-readablenm
output for somenm
in the given environment (which isn't really a thing on msvc anyway, andllvm-nm
doesn't handle msvc dylibs AFAICT). - Dump the symbols satisfying various criteria on test failure to make it hopefully less of a pain to debug if it ever fails in CI.
Review advice
- Best reviewed commit-by-commit.
- I'm not super sure about the msvc logic, would benefit from a MSVC (PE/COFF) expert taking a look.
try-job: x86_64-msvc try-job: i686-msvc try-job: i686-mingw try-job: x86_64-mingw-1 try-job: x86_64-apple-1 try-job: aarch64-apple try-job: test-various
bors added a commit to rust-lang-ci/rust that referenced this pull request
…hed, r=
tests: Port symbol-mangling-hashed
to rmake.rs
Part of rust-lang#121876.
This PR supersedes rust-lang#128567 and is co-authored with @lolbinarycat.
Summary
This PR ports tests/run-make/symbol-mangling-hashed
to rmake.rs. Notable differences when compared to the Makefile version includes:
- It's no longer limited to linux + x86_64 only. In particular, this now is exercised on darwin and windows (esp. msvc) too.
- The test uses
object
crate to be more precise in the filtering, and avoids relying on parsing the human-readablenm
output for somenm
in the given environment (which isn't really a thing on msvc anyway, andllvm-nm
doesn't handle msvc dylibs AFAICT). - Dump the symbols satisfying various criteria on test failure to make it hopefully less of a pain to debug if it ever fails in CI.
Review advice
- Best reviewed commit-by-commit.
- I'm not super sure about the msvc logic, would benefit from a MSVC (PE/COFF) expert taking a look.
try-job: x86_64-msvc try-job: i686-msvc-1 try-job: i686-mingw try-job: x86_64-mingw-1 try-job: x86_64-apple-1 try-job: aarch64-apple try-job: test-various
bors added a commit to rust-lang-ci/rust that referenced this pull request
…hed, r=
tests: Port symbol-mangling-hashed
to rmake.rs
Part of rust-lang#121876.
This PR supersedes rust-lang#128567 and is co-authored with @lolbinarycat.
Summary
This PR ports tests/run-make/symbol-mangling-hashed
to rmake.rs. Notable differences when compared to the Makefile version includes:
- It's no longer limited to linux + x86_64 only. In particular, this now is exercised on darwin and windows (esp. msvc) too.
- The test uses
object
crate to be more precise in the filtering, and avoids relying on parsing the human-readablenm
output for somenm
in the given environment (which isn't really a thing on msvc anyway, andllvm-nm
doesn't handle msvc dylibs AFAICT). - Dump the symbols satisfying various criteria on test failure to make it hopefully less of a pain to debug if it ever fails in CI.
Review advice
- Best reviewed commit-by-commit.
- I'm not super sure about the msvc logic, would benefit from a MSVC (PE/COFF) expert taking a look.
try-job: x86_64-msvc try-job: i686-msvc-1 try-job: i686-mingw try-job: x86_64-mingw-1 try-job: x86_64-apple-1 try-job: aarch64-apple try-job: test-various
bors added a commit to rust-lang-ci/rust that referenced this pull request
…hed, r=
tests: Port symbol-mangling-hashed
to rmake.rs
Part of rust-lang#121876.
This PR supersedes rust-lang#128567 and is co-authored with @lolbinarycat.
Summary
This PR ports tests/run-make/symbol-mangling-hashed
to rmake.rs. Notable differences when compared to the Makefile version includes:
- It's no longer limited to linux + x86_64 only. In particular, this now is exercised on darwin and windows (esp. msvc) too.
- The test uses
object
crate to be more precise in the filtering, and avoids relying on parsing the human-readablenm
output for somenm
in the given environment (which isn't really a thing on msvc anyway, andllvm-nm
doesn't handle msvc dylibs AFAICT). - Dump the symbols satisfying various criteria on test failure to make it hopefully less of a pain to debug if it ever fails in CI.
Review advice
- Best reviewed commit-by-commit.
- I'm not super sure about the msvc logic, would benefit from a MSVC (PE/COFF) expert taking a look.
try-job: x86_64-msvc try-job: i686-msvc-1 try-job: i686-mingw try-job: x86_64-mingw-1 try-job: x86_64-apple-1 try-job: aarch64-apple try-job: test-various
bors added a commit to rust-lang-ci/rust that referenced this pull request
…hed, r=
tests: Port symbol-mangling-hashed
to rmake.rs
Part of rust-lang#121876.
This PR supersedes rust-lang#128567 and is co-authored with @lolbinarycat.
Summary
This PR ports tests/run-make/symbol-mangling-hashed
to rmake.rs. Notable differences when compared to the Makefile version includes:
- It's no longer limited to linux + x86_64 only. In particular, this now is exercised on darwin and windows (esp. msvc) too.
- The test uses
object
crate to be more precise in the filtering, and avoids relying on parsing the human-readablenm
output for somenm
in the given environment (which isn't really a thing on msvc anyway, andllvm-nm
doesn't handle msvc dylibs AFAICT). - Dump the symbols satisfying various criteria on test failure to make it hopefully less of a pain to debug if it ever fails in CI.
Review advice
- Best reviewed commit-by-commit.
- I'm not super sure about the msvc logic, would benefit from a MSVC (PE/COFF) expert taking a look.
try-job: x86_64-msvc try-job: i686-msvc-1 try-job: i686-mingw try-job: x86_64-mingw-1 try-job: x86_64-apple-1 try-job: aarch64-apple try-job: test-various
bors added a commit to rust-lang-ci/rust that referenced this pull request
…hed, r=
tests: Port symbol-mangling-hashed
to rmake.rs
Part of rust-lang#121876.
This PR supersedes rust-lang#128567 and is co-authored with @lolbinarycat.
Summary
This PR ports tests/run-make/symbol-mangling-hashed
to rmake.rs. Notable differences when compared to the Makefile version includes:
- It's no longer limited to linux + x86_64 only. In particular, this now is exercised on darwin and windows (esp. msvc) too.
- The test uses
object
crate to be more precise in the filtering, and avoids relying on parsing the human-readablenm
output for somenm
in the given environment (which isn't really a thing on msvc anyway, andllvm-nm
doesn't handle msvc dylibs AFAICT). - Dump the symbols satisfying various criteria on test failure to make it hopefully less of a pain to debug if it ever fails in CI.
Review advice
- Best reviewed commit-by-commit.
- I'm not super sure about the msvc logic, would benefit from a MSVC (PE/COFF) expert taking a look.
try-job: x86_64-msvc-1 try-job: i686-msvc-1 try-job: i686-mingw try-job: x86_64-mingw-1 try-job: x86_64-apple-1 try-job: aarch64-apple try-job: test-various
bors added a commit to rust-lang-ci/rust that referenced this pull request
…hed, r=
tests: Port symbol-mangling-hashed
to rmake.rs
Part of rust-lang#121876.
This PR supersedes rust-lang#128567 and is co-authored with @lolbinarycat.
Summary
This PR ports tests/run-make/symbol-mangling-hashed
to rmake.rs. Notable differences when compared to the Makefile version includes:
- It's no longer limited to linux + x86_64 only. In particular, this now is exercised on darwin and windows (esp. msvc) too.
- The test uses
object
crate to be more precise in the filtering, and avoids relying on parsing the human-readablenm
output for somenm
in the given environment (which isn't really a thing on msvc anyway, andllvm-nm
doesn't handle msvc dylibs AFAICT). - Dump the symbols satisfying various criteria on test failure to make it hopefully less of a pain to debug if it ever fails in CI.
Review advice
- Best reviewed commit-by-commit.
- I'm not super sure about the msvc logic, would benefit from a MSVC (PE/COFF) expert taking a look.
try-job: x86_64-msvc-1 try-job: i686-msvc-1 try-job: i686-mingw try-job: x86_64-mingw-1 try-job: x86_64-apple-1 try-job: aarch64-apple try-job: test-various
workingjubilee added a commit to workingjubilee/rustc that referenced this pull request
…ashed, r=Noratrieb
tests: Port symbol-mangling-hashed
to rmake.rs
Part of rust-lang#121876.
This PR supersedes rust-lang#128567 and is co-authored with @lolbinarycat.
Summary
This PR ports tests/run-make/symbol-mangling-hashed
to rmake.rs. Notable differences when compared to the Makefile version includes:
- It's no longer limited to linux + x86_64 only. In particular, this now is exercised on darwin and windows (esp. msvc) too.
- The test uses
object
crate to be more precise in the filtering, and avoids relying on parsing the human-readablenm
output for somenm
in the given environment (which isn't really a thing on msvc anyway, andllvm-nm
doesn't handle msvc dylibs AFAICT). - Dump the symbols satisfying various criteria on test failure to make it hopefully less of a pain to debug if it ever fails in CI.
Review advice
- Best reviewed commit-by-commit.
- I'm not super sure about the msvc logic, would benefit from a MSVC (PE/COFF) expert taking a look.
try-job: x86_64-msvc-1 try-job: i686-msvc-1 try-job: i686-mingw try-job: x86_64-mingw-1 try-job: x86_64-apple-1 try-job: aarch64-apple try-job: test-various
bors added a commit to rust-lang-ci/rust that referenced this pull request
…hed, r=Noratrieb
tests: Port symbol-mangling-hashed
to rmake.rs
Part of rust-lang#121876.
This PR supersedes rust-lang#128567 and is co-authored with @lolbinarycat.
Summary
This PR ports tests/run-make/symbol-mangling-hashed
to rmake.rs. Notable differences when compared to the Makefile version includes:
- It's no longer limited to linux + x86_64 only. In particular, this now is exercised on darwin and windows (esp. msvc) too.
- The test uses
object
crate to be more precise in the filtering, and avoids relying on parsing the human-readablenm
output for somenm
in the given environment (which isn't really a thing on msvc anyway, andllvm-nm
doesn't handle msvc dylibs AFAICT). - Dump the symbols satisfying various criteria on test failure to make it hopefully less of a pain to debug if it ever fails in CI.
Review advice
- Best reviewed commit-by-commit.
- I'm not super sure about the msvc logic, would benefit from a MSVC (PE/COFF) expert taking a look.
try-job: x86_64-msvc-1 try-job: i686-msvc-1 try-job: i686-mingw try-job: x86_64-mingw-1 try-job: x86_64-apple-1 try-job: aarch64-apple try-job: test-various
Labels
Area: port run-make Makefiles to rmake.rs
Area: The testsuite used to check the correctness of rustc
Status: Awaiting review from the assignee but also interested parties.
Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)