Add armv5 support#113
Conversation
|
@jamesmunns Thanks for the PR and sorry for not commenting earlier. I'd prefer if the official target Just Worked and I think that the official target specification should be tweaked: the target does support atomic operations (the OS provides them) so max-atomic-width should be changed accordingly; it also seems reasonable to change the default allocator to system if jemalloc doesn't compile for the target (iirc, the default allocator will be changed to libc's anyways). It's harder to make the case for abort = panic though; all the "std targets" support unwinding AFAIK and setting abort = panic means that you can't use the |
|
If rust-lang/rust#44978 is merged, this PR will no longer be necessary. |
|
☔ The latest upstream changes (presumably #132) made this pull request unmergeable. Please resolve the merge conflicts. |
|
Closing as rust-lang/rust#44978 has merged 🎉 |
Hey @japaric, heres a PR to integrate my work on ARMv5. Please let me know if you have any questions.
The changes to
crosssource should prevent the need for aCross.toml, however asjemallocandunwindare not available, it is still necessary to define aXargo.toml, and make changes toCargo.toml(as well asmain.rsin Rust >= 1.20.0). These are detailed inTARGET-NOTES.md.