-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Port the 2 rust-lld
run-make tests to rmake
#123975
Conversation
note: version more recent than 1.8 depend on memchr 2.6, which creates conflicts as memchr 2.5.0 is pinned elsewhere in the workspace
also check that turning off the linker feature does not use lld
The run-make-support library was changed cc @jieyouxu These commits modify the If this was unintentional then you should revert the changes before this PR is merged. Some changes occurred in run-make tests. cc @jieyouxu Some changes occurred in src/tools/compiletest cc @jieyouxu |
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.
Looks good to me in general, just some nitpicks about introducing some helper methods on the Rustc
command wrapper for stable CLI flags (not the unstable ones as I presume they will be changed soon).
also make sure that rust-lld can be disabled via linker features, even when enabled by default by the target spec
and use it in the `rust-lld` tests
@bors r=jieyouxu |
…llaumeGomez Rollup of 7 pull requests Successful merges: - rust-lang#123673 (Don't ICE for kind mismatches during error rendering) - rust-lang#123675 (Taint const qualifs if a static is referenced that didn't pass wfcheck) - rust-lang#123975 (Port the 2 `rust-lld` run-make tests to `rmake`) - rust-lang#124000 (Use `/* value */` as a placeholder) - rust-lang#124013 (Box::into_raw: make Miri understand that this is a box-to-raw cast) - rust-lang#124027 (Prefer identity equality over equating types during coercion.) - rust-lang#124036 (Remove `default_hidden_visibility: false` from wasm targets) r? `@ghost` `@rustbot` modify labels: rollup
Rollup merge of rust-lang#123975 - lqd:rust-lld-tests, r=jieyouxu Port the 2 `rust-lld` run-make tests to `rmake` In preparation for finalizing most of the `rust-lld` work, this PR ports the following tests to `rmake`: - `tests/run-make/rust-lld` - `tests/run-make/rust-lld-custom-target` As they use `$(CGREP) -e` I added `regex` as an exported dependency to the `run_make_support` library. Unfortunately, the most recent versions depend on `memchr` 2.6.0 but it's currently pinned at 2.5.0 in the workspace, and therefore had to settle for the older `regex-1.8.0`. r? `@jieyouxu`
In preparation for finalizing most of the
rust-lld
work, this PR ports the following tests tormake
:tests/run-make/rust-lld
tests/run-make/rust-lld-custom-target
As they use
$(CGREP) -e
I addedregex
as an exported dependency to therun_make_support
library.Unfortunately, the most recent versions depend on
memchr
2.6.0 but it's currently pinned at 2.5.0 in the workspace, and therefore had to settle for the olderregex-1.8.0
.r? @jieyouxu