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

don't set RUSTFLAGS in aarch64-musl image #497

Merged
merged 2 commits into from
Dec 12, 2020
Merged

Conversation

japaric
Copy link
Contributor

@japaric japaric commented Dec 8, 2020

instead use a linker wrapper to work around issue rust-lang/rust#46651
not setting RUSTFLAGS inside the container lets end users pass rustc flags via .cargo/config
this is an alternative to #464 that doesn't require bumping the MSRV of the aarch64-unknown-linux-musl target (that is the aarch64-musl image will continue to work with Rust 1.42 where bug rust-lang/rust#46651 is still presen )

@japaric
Copy link
Contributor Author

japaric commented Dec 9, 2020

Note that the reported CI failures are unrelated to this PR. CI is broken on the main branch; PR #498 fixes that.

@reitermarkus
Copy link
Member

bors r+

bors bot added a commit that referenced this pull request Dec 12, 2020
497: don't set RUSTFLAGS in aarch64-musl image r=reitermarkus a=japaric

instead use a linker wrapper to work around issue rust-lang/rust#46651
not setting RUSTFLAGS inside the container lets end users pass rustc flags via `.cargo/config`
this is an alternative to #464 that doesn't require bumping the MSRV of the `aarch64-unknown-linux-musl` target (that is the aarch64-musl image will continue to work with Rust 1.42 where bug rust-lang/rust#46651 is still presen )

500: use runner setting specified in Cross.toml r=reitermarkus a=japaric

fixes #499 

Co-authored-by: Jorge Aparicio <[email protected]>
@bors
Copy link
Contributor

bors bot commented Dec 12, 2020

Build failed (retrying...):

@bors
Copy link
Contributor

bors bot commented Dec 12, 2020

Build succeeded:

@bors bors bot merged commit beb434b into master Dec 12, 2020
@bors bors bot deleted the aarch64-musl-no-rustflags branch December 12, 2020 06:13
@Emilgardis Emilgardis added this to the v0.2.2 milestone Jun 15, 2022
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