-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
[MSP430] Build std components for msp430. #51250
Conversation
@pftbest to confirm, do you have a good sense for how often this target breaks? If it's pretty rarely this seems fine by me to land, but if it's pretty common I think we may want to perhaps hold off on it for now |
The last major break was in November 2017 when codegen units where enabled by default (#45836). It was fixed in January (#47453). Since then there where two minor breaks, one in April (#49618) where #[cfg(target_pointer_width)] was missing, and one in May (#50369) where cast from char to usize was giving a warning. In both cases the problem was the fact that msp430 is a 16bit bit target, and it is easy to forget that usize can be 16bit wide. For example in this pull request i have yet another fix for a similar problem. As you can see the fix was trivial in all this cases. There is also one more thing you should know about, due to LLVM bug the build will fail when |
We discussed this today in the infra meeting, and decided that we'd like to hold off for now on landing this until the LLVM assertion is fixed. |
In this particular case the problem is caused by integer overflow checks that gets enabled when But I understand your concern, so I'll see what I can do about it. |
Ping from triage @pftbest! It's been a while since we heard from you, will you have time to work on this again? |
Hello, I have no progress on this yet, sorry. |
☔ The latest upstream changes (presumably #51569) made this pull request unmergeable. Please resolve the merge conflicts. |
Ping form triage! I'm marking this as blocked (on the LLVM bug). |
Ping from triage! Thanks for your PR, @pftbest. It looks like the blocking bug is not going to be resolved anytime soon, so we're closing this PR for now. Feel free to reopen in the future! |
@pftbest I think this might be worth trying to get merged again now:
|
cc @japaric
r? @alexcrichton