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

Doesn't build alloc and collections when max_atomic_width = 0 #91

Closed
thejpster opened this issue Dec 11, 2016 · 5 comments
Closed

Doesn't build alloc and collections when max_atomic_width = 0 #91

thejpster opened this issue Dec 11, 2016 · 5 comments

Comments

@thejpster
Copy link
Contributor

thejpster commented Dec 11, 2016

I believe alloc now builds for thumbv6 (max_atomic_width=0), so could xargo now build alloc and collections?

I looked in the source code but I couldn't see where the builds where elided. Is it actually something cargo does?

Edit: Apologies for the edits - my finger slipped :/

@thejpster thejpster changed the title Dlesn Doesn't build alloc and collections when max_atomic_width = 0 Dec 11, 2016
@japaric
Copy link
Owner

japaric commented Dec 11, 2016

Not a Xargo issue but should be fixed when rust-lang/rust#37492 makes its way into a nightly. Today, maybe?

@thejpster
Copy link
Contributor Author

Ah, I thought that had made it in already.

@japaric
Copy link
Owner

japaric commented Dec 11, 2016

Might want to try Xargo HEAD as well, not the stable release.

@japaric
Copy link
Owner

japaric commented Dec 11, 2016

(cargo install --git https://github.com/japaric/xargo)

@thejpster
Copy link
Contributor Author

Yeah, I already have that forked and checked out ;)

Right, I can see xargo head does now attempt to build alloc - that explains why I couldn't find the code that blocked it in the source code for head. And building alloc fails, so I probably need to wait another day or so for nightly to churn.

Closed: Not an issue

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