Skip to content

Using build-std does not work #1722

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

Closed
LunarLambda opened this issue Apr 12, 2022 · 1 comment
Closed

Using build-std does not work #1722

LunarLambda opened this issue Apr 12, 2022 · 1 comment

Comments

@LunarLambda
Copy link

Crate name

gba

Build failure link

https://docs.rs/crate/gba/0.5.3/builds/540808

Additional details

The gba crate is meant for the thumbv4t-none-eabi target, meaning it requires build-std (and the rust-src component). While docs.rs hints at the ability to pass -Z build-std to cargo (https://docs.rs/about/metadata), this doesn't seem to actually work. Not sure if we're doing something wrong or this is simply not support currently, I could not find much documentation regarding using build-std on docs.rs.

Currently our only other option seems to be picking a Tier 1 or 2 target that's 'close enough' (closest would be armv7a-none-eabi I guess?), which seems like it could easily to other weird issues.

@jyn514
Copy link
Member

jyn514 commented Apr 12, 2022

Duplicate of #1561

@jyn514 jyn514 marked this as a duplicate of #1561 Apr 12, 2022
@jyn514 jyn514 closed this as completed Apr 12, 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

No branches or pull requests

2 participants