Uh oh!
There was an error while loading. Please reload this page.
Enable AVR as a Tier 3 target upstream - #69478
Conversation
rust-highfive
commented
Feb 26, 2020
r? @estebank (rust_highfive has picked a reviewer for you, use r? to override) |
dylanmckay
commented
Feb 26, 2020
Dammit, meant to raise this on avr-rust/rust first, I always do this |
This comment has been minimized.
This comment has been minimized.
dylanmckay
commented
Feb 26, 2020
Actually, come to think of it, might as well keep it here for tracking. Code reviews welcome, but let's hold off merging until some more testing has been done, |
This comment has been minimized.
This comment has been minimized.
5d9b2ba to
e3b36d7Compare
This comment has been minimized.
This comment has been minimized.
e3b36d7 to
113fef6CompareUh oh!
There was an error while loading. Please reload this page.
shepmaster
commented
Feb 26, 2020
How time flies! |
This comment has been minimized.
This comment has been minimized.
Uh oh!
There was an error while loading. Please reload this page.
9522529 to
37b32f0Compare
This comment has been minimized.
This comment has been minimized.
dylanmckay
commented
Mar 3, 2020
Any suggestions for where to put an AVR README or just AVR-specific documentation like build/usage instructions? |
This comment has been minimized.
This comment has been minimized.
110ca92 to
99f6776Comparedylanmckay
commented
Mar 3, 2020
The only remaining failing automated test is related to name mangling, seems odd. |
This comment has been minimized.
This comment has been minimized.
We may need to re-bless the test output for the ABI failure tests (ui/feature-gates/feature-gate-abi-avr-interrupt.r) |
Patch generated with `./x.py test --stage 1 src/test/ui/feature-gates --bless`.
It is not possible to compile libstd for AVR anyway.
… ABI This patch brings the AVR calling convention argument classification logic in line with AVR Clang's behaviour. AVR-Clang currently uses the `clang::DefaultABIInfo` ABI implementation. This calling convention promotes all aggregates to indirect, no matter their size. It is also unnecessary to perform any integer width extension for AVR as the minimum argument size matches the minimum describable size of abi::Primitive::Int - 8 bits. At some point in the future, an AVR-GCC compatible argument classification implementation should be adopted in both Clang and Rust.
491bf8c to
0340359Comparedylanmckay
commented
Jun 9, 2020
Rebased, and the calling convention re-blessing removed from the git history. |
jonas-schievink
commented
Jun 9, 2020
@bors r+ |
bors
commented
Jun 9, 2020
📌 Commit 0340359 has been approved by |
bors
commented
Jun 11, 2020
⌛ Testing commit 0340359 with merge 0b208d1125cca703f2f834db83a8a41988ffa813... |
Dylan-DPC-zz
commented
Jun 11, 2020
@bors retry yield |
Dylan-DPC-zz
commented
Jun 12, 2020
@bors p=1 |
bors
commented
Jun 12, 2020
bors
commented
Jun 12, 2020
☀️ Test successful - checks-azure |
Restioson
commented
Jun 12, 2020
(from the original post) Typo? |
jplatte
commented
Jun 12, 2020
@Restioson the wording of that commit is a bit weird, but I did make two suggestions, so it was likely intentional. (not meant to mention somebody else, at least). |
Restioson
commented
Jun 13, 2020
Ah, okay. |
Adding a new ABI changes the hashes of all previous ABIs. Fix suggested by @shepmaster in rust-lang#69478 (comment).
Tracking issue: #44052.
Things intentionally left out of the initial upstream:
target_cpuflagI have made the cleanup suggestions by @jplatte and @jplatte in avr-rust@043550d.
Anybody feel free to give the branch a test and see how it fares, or make suggestions on the code patch itself.