-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
[WIP] run-make-support: Calculate artifact names for target platform, not host platform #139242
base: master
Are you sure you want to change the base?
[WIP] run-make-support: Calculate artifact names for target platform, not host platform #139242
Conversation
Reminder, once the PR becomes ready for a review, use |
@bors try |
…ss, r=<try> Fix `run-make-support` artifact name calculations for target on cross-compile This was implemented incorrectly during the porting process, where we relied on std consts. However, `run-make-support` is a host-only library, which meant that these artifact names were for the *host* and not the *target*. Helps with rust-lang#138066. r? `@Kobzol` `@rustbot` author (needs try-jobs) try-job: armhf-gnu try-job: test-various try-job: `*windows*` try-job: `*apple*`
This comment has been minimized.
This comment has been minimized.
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.
Oh, yeah, this might help a lot 😆 Btw why did you put it into build_helper, when you don't reuse it in bootstrap?
Oh it was because initially I saw |
cc4aee9
to
e468241
Compare
@bors try |
…ss, r=<try> Fix `run-make-support` artifact name calculations for target on cross-compile This was implemented incorrectly during the porting process, where we relied on std consts. However, `run-make-support` is a host-only library, which meant that these artifact names were for the *host* and not the *target*. Helps with rust-lang#138066. r? `@Kobzol` `@rustbot` author (needs try-jobs) try-job: armhf-gnu try-job: test-various try-job: `*msvc*` try-job: `*mingw*` try-job: `*apple*`
This comment has been minimized.
This comment has been minimized.
@bors try |
…ss, r=<try> Fix `run-make-support` artifact name calculations for target on cross-compile This was implemented incorrectly during the porting process, where we relied on std consts. However, `run-make-support` is a host-only library, which meant that these artifact names were for the *host* and not the *target*. Helps with rust-lang#138066. r? `@Kobzol` `@rustbot` author (needs try-jobs) try-job: armhf-gnu try-job: test-various try-job: x86_64-msvc-1 try-job: i686-msvc-1 try-job: x86_64-mingw-1 try-job: i686-mingw-1 try-job: aarch64-apple try-job: x86_64-apple-1
…<try> [WIP] [WIP] Enable automatic cross-compilation in run-make tests WIP for the WIP rust-lang#138066. Based on rust-lang#138066 with rust-lang#139242 + rust-lang#139239 cherry-picked in, plus `rustdoc()` cross-compile changes. r? `@ghost` try-job: armhf-gnu try-job: test-various try-job: x86_64-msvc-1 try-job: i686-msvc-1 try-job: x86_64-mingw-1 try-job: i686-mingw-1 try-job: aarch64-apple try-job: x86_64-apple-1
This comment has been minimized.
This comment has been minimized.
💔 Test failed - checks-actions |
This is not normally |
@bors try |
Ah hah, i686-mingw-1 be gone |
…ss, r=<try> [WIP] run-make-support: Calculate artifact names for target platform, not host platform This was implemented incorrectly during the porting process, where we relied on std consts. However, `run-make-support` is a host-only library, which meant that these artifact names were for the *host* and not the *target*. Helps with rust-lang#138066. r? `@Kobzol` try-job: armhf-gnu try-job: test-various try-job: x86_64-msvc-1 try-job: i686-msvc-1 try-job: x86_64-mingw-1 try-job: aarch64-apple try-job: x86_64-apple-1
This comment has been minimized.
This comment has been minimized.
💔 Test failed - checks-actions |
0e57f60
to
9fd69fe
Compare
@bors try |
…ss, r=<try> [WIP] run-make-support: Calculate artifact names for target platform, not host platform > [!CAUTION] > > Stacked on top of rust-lang#139469. This was implemented incorrectly during the porting process, where we relied on std consts. However, `run-make-support` is a host-only library, which meant that these artifact names were for the *host* and not the *target*. Helps with rust-lang#138066. r? `@Kobzol` try-job: armhf-gnu try-job: test-various try-job: x86_64-msvc-1 try-job: i686-msvc-1 try-job: x86_64-mingw-1 try-job: aarch64-apple try-job: x86_64-apple-1
This comment has been minimized.
This comment has been minimized.
💔 Test failed - checks-actions |
The `//@ needs-crate-type: $crate_types...` directive takes a comma-separated list of crate types that the target platform must support in order for the test to be run.
…directives Not all existing tests are converted, I only updated ones that I can easily find via directive comments.
This was implemented incorrectly during the porting process, where we relied on std consts. However, `run-make-support` is a host-only library, which meant that these artifact names were for the *host* and not the *target*.
And ignore on nvptx64.
The linker binary needs to run.
- Ignore nvptx that needs target std. - Ignore targets that don't support cdylib.
9fd69fe
to
db12c1b
Compare
@bors try |
…ss, r=<try> [WIP] run-make-support: Calculate artifact names for target platform, not host platform > [!CAUTION] > > Stacked on top of rust-lang#139469. This was implemented incorrectly during the porting process, where we relied on std consts. However, `run-make-support` is a host-only library, which meant that these artifact names were for the *host* and not the *target*. Helps with rust-lang#138066. r? `@Kobzol` try-job: armhf-gnu try-job: test-various try-job: x86_64-msvc-1 try-job: i686-msvc-1 try-job: x86_64-mingw-1 try-job: aarch64-apple try-job: x86_64-apple-1
The job Click to see the possible cause of the failure (guessed by this bot)
|
💔 Test failed - checks-actions |
Caution
Stacked on top of #139469.
This was implemented incorrectly during the porting process, where we relied on std consts. However,
run-make-support
is a host-only library, which meant that these artifact names were for the host and not the target.Helps with #138066.
r? @Kobzol
try-job: armhf-gnu
try-job: test-various
try-job: x86_64-msvc-1
try-job: i686-msvc-1
try-job: x86_64-mingw-1
try-job: aarch64-apple
try-job: x86_64-apple-1