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

aarch64-unknown-linux-musl: do not set RUSTFLAGS #464

Closed
wants to merge 3 commits into from
Closed

aarch64-unknown-linux-musl: do not set RUSTFLAGS #464

wants to merge 3 commits into from

Conversation

jonas-schievink
Copy link
Contributor

rust-lang/rust#46651 has been fixed, and this helps with #463

@jonas-schievink jonas-schievink requested review from Dylan-DPC-zz and a team as code owners October 7, 2020 14:06
Dylan-DPC-zz
Dylan-DPC-zz previously approved these changes Oct 7, 2020
@jonas-schievink
Copy link
Contributor Author

Hmm, seems like we need to wait for the next Rust release (or 2) until this can be removed

reitermarkus
reitermarkus previously approved these changes Oct 23, 2020
@reitermarkus
Copy link
Member

bors r+

bors bot added a commit that referenced this pull request Oct 23, 2020
464: aarch64-unknown-linux-musl: do not set RUSTFLAGS r=reitermarkus a=jonas-schievink

rust-lang/rust#46651 has been fixed, and this helps with #463

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

bors bot commented Oct 23, 2020

Build failed:

  • rust-embedded.cross

@reitermarkus
Copy link
Member

bors retry

@jonas-schievink
Copy link
Contributor Author

@reitermarkus this doesn't look spurious to me

@reitermarkus
Copy link
Member

You're right.

@reitermarkus
Copy link
Member

bors cancel

bors bot added a commit that referenced this pull request Oct 24, 2020
464: aarch64-unknown-linux-musl: do not set RUSTFLAGS r=reitermarkus a=jonas-schievink

rust-lang/rust#46651 has been fixed, and this helps with #463

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

bors bot commented Oct 24, 2020

Build failed:

  • rust-embedded.cross

@jonas-schievink
Copy link
Contributor Author

Cool, everything except asmjs-unknown-emscripten seems to be working with beta Rust. The remaining issue is caused by rust-lang/rust#76679.

@japaric
Copy link
Contributor

japaric commented Dec 8, 2020

PR #497 is an alternative to this PR that should also work with old toolchains (1.42)

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 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 )

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

#497 has landed, so closing this!

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.

4 participants