-
Notifications
You must be signed in to change notification settings - Fork 13.4k
run-make: do not use relative links to refer to compiler/stdlib sources, we should introduce some CHECKOUT_ROOT
env var/helper.
#126071
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Labels
A-compiletest
Area: The compiletest test runner
A-testsuite
Area: The testsuite used to check the correctness of rustc
C-cleanup
Category: PRs that clean code up or issues documenting cleanup.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Comments
CHECKOUT_ROOT
env var/helper.CHECKOUT_ROOT
env var/helper.
There is already the |
I'm actually dumb, we even already have rust/src/tools/run-make-support/src/lib.rs Lines 90 to 92 in 50297bb
|
That's a very descriptive environment variable name, lol |
rust-timer
added a commit
to rust-lang-ci/rust
that referenced
this issue
Jun 7, 2024
Rollup merge of rust-lang#126081 - Kobzol:run-make-relative-paths, r=jieyouxu Do not use relative paths to Rust source root in run-make tests Pre-requisite for rust-lang#126080. Fixes: rust-lang#126071 r? `@jieyouxu`
matthiaskrgr
added a commit
to matthiaskrgr/rust
that referenced
this issue
Jun 7, 2024
…ouxu Clean up source root in run-make tests The name `S` isn't exactly the most descriptive, and we also shouldn't need to pass it when building (actually I think that most of the env. vars that we pass to `cargo` here are probably not really needed). Related issue: rust-lang#126071 r? `@jieyouxu`
matthiaskrgr
added a commit
to matthiaskrgr/rust
that referenced
this issue
Jun 7, 2024
…ouxu Clean up source root in run-make tests The name `S` isn't exactly the most descriptive, and we also shouldn't need to pass it when building (actually I think that most of the env. vars that we pass to `cargo` here are probably not really needed). Related issue: rust-lang#126071 r? ``@jieyouxu``
matthiaskrgr
added a commit
to matthiaskrgr/rust
that referenced
this issue
Jun 7, 2024
…ouxu Clean up source root in run-make tests The name `S` isn't exactly the most descriptive, and we also shouldn't need to pass it when building (actually I think that most of the env. vars that we pass to `cargo` here are probably not really needed). Related issue: rust-lang#126071 r? ```@jieyouxu```
rust-timer
added a commit
to rust-lang-ci/rust
that referenced
this issue
Jun 7, 2024
Rollup merge of rust-lang#126112 - Kobzol:runmake-source-root, r=jieyouxu Clean up source root in run-make tests The name `S` isn't exactly the most descriptive, and we also shouldn't need to pass it when building (actually I think that most of the env. vars that we pass to `cargo` here are probably not really needed). Related issue: rust-lang#126071 r? ```@jieyouxu```
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Labels
A-compiletest
Area: The compiletest test runner
A-testsuite
Area: The testsuite used to check the correctness of rustc
C-cleanup
Category: PRs that clean code up or issues documenting cleanup.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Uh oh!
There was an error while loading. Please reload this page.
Some run-make tests refer to stdlib sources with
"../../../library/alloc/src/lib.rs"
which seems not ideal. @Kobzol suggested that we should introduce aCHECKOUT_ROOT
helper to make this less fragile.The text was updated successfully, but these errors were encountered: