Skip to content
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

Compile the canary against musl #660

Merged
merged 2 commits into from
Nov 8, 2022
Merged

Compile the canary against musl #660

merged 2 commits into from
Nov 8, 2022

Conversation

jdisanti
Copy link
Contributor

@jdisanti jdisanti commented Nov 7, 2022

This PR fixes the canary.

I'm not really sure how it succeeded before since it wasn't compiling against musl. Perhaps it was a coincidence between the Ubuntu version the Lambda compiled on, and the Amazon Linux 2 version it ran on. This PR makes it compile against musl and overrides the rust-toolchain.yml file in smithy-rs so that the correct toolchain version is used.

Successful canary run: https://github.com/awslabs/aws-sdk-rust/actions/runs/3414713195/jobs/5683095244

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@jdisanti jdisanti marked this pull request as ready for review November 7, 2022 23:23
@jdisanti jdisanti requested a review from a team as a code owner November 7, 2022 23:24
Copy link
Contributor

@rcoh rcoh left a comment

Choose a reason for hiding this comment

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

LGTM, but does this also cover how it was green (but failing?) before?

@jdisanti
Copy link
Contributor Author

jdisanti commented Nov 8, 2022

LGTM, but does this also cover how it was green (but failing?) before?

The success check is fixed in canary-runner in smithy-lang/smithy-rs#1960

@jdisanti jdisanti merged commit 557778d into main Nov 8, 2022
@jdisanti jdisanti deleted the jdisanti-canary-musl branch November 16, 2022 01:21
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.

2 participants