Skip to content

cherry-pick improvements from #1635 #1

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

Conversation

reneleonhardt
Copy link

Contents

@@ -203,7 +203,7 @@ jobs:
id: build-docker-image
if: steps.prepare-meta.outputs.has-image
timeout-minutes: 120
run: cargo xtask build-docker-image -v "${TARGET}${SUB:+.$SUB}" ${{ matrix.verbose && '-v' || '' }} --platform ${{ matrix.platform }}
run: cargo xtask build-docker-image -v "${TARGET}${SUB:+.$SUB}" ${{ matrix.verbose && '-v' || '' }}${{ matrix.platform && '--platform ' }}${{ join(matrix.platform) || '' }}
Copy link
Owner

Choose a reason for hiding this comment

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

This change seems not necessary

Copy link
Author

Choose a reason for hiding this comment

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

It's a very neat trick, if platforms are configured they will be used, otherwise it will be empty.

Copy link
Owner

@garasubo garasubo left a comment

Choose a reason for hiding this comment

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

Your second commit looks good, but I couldn't understand the purpose of the first commit. Could you explain it?

@reneleonhardt
Copy link
Author

Don't kill the messenger, I just cherry-picked all improvements from #1635 for you 😅

@garasubo
Copy link
Owner

@reneleonhardt I meant why do you cherry-pick that commit? If there are no special reason, I'll close it.

@reneleonhardt
Copy link
Author

@reneleonhardt I meant why do you cherry-pick that commit? If there are no special reason, I'll close it.

You can close any contribution if you want, it's your fork.
I just tried to help, as I already said.

Emilgardis tried to improve your PR:
cross-rs#1636 (comment)

looks good so far, I did some restructuring in cross-rs#1635 feel free to incorporate those (or not :) )

You said it's not possible to merge those improvements into your PR:
cross-rs#1636 (comment)

@Emilgardis Thanks. I looked into your PR, but it looked hard to merge it to mine.

So I merged those changes in for you.

@garasubo garasubo closed this Jul 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants