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

use less unstable dependencies #29

Merged
merged 7 commits into from
May 12, 2018
Merged

use less unstable dependencies #29

merged 7 commits into from
May 12, 2018

Conversation

japaric
Copy link
Member

@japaric japaric commented Apr 24, 2018

This PR and the ones at the bottom reduce the number of unstable features needed for Cortex-M development to a single one: lang = "panic_fmt", which already has a path towards stabilization and which we hope to get on stable by 1.28.

Check out the temporary documentation (we still need more docs) to try out this preview.

We would love your input on these unresolved questions

This PR depends on:

@japaric
Copy link
Member Author

japaric commented Apr 25, 2018

Something I noticed while working on this is that LLD (both HEAD and rustc's) will mislink FFI calls into external assembly files. LLD will insert a BLX instruction that calls the foreign function instead of a BL instruction. The BLX instruction produces a hard fault at runtime.

cc @jcsoo

@japaric japaric changed the title [WIP] use less unstable dependencies use less unstable dependencies May 12, 2018
@japaric
Copy link
Member Author

japaric commented May 12, 2018

bors r+

bors bot added a commit that referenced this pull request May 12, 2018
29: use less unstable dependencies r=japaric a=japaric

This PR and the ones at the bottom reduce the number of unstable features needed for Cortex-M development to a single one: `lang = "panic_fmt"`, which already has a path towards stabilization and which we hope to get on stable by 1.28.

[Check out the temporary documentation](https://japaric.github.io/cortex-m-quickstart/cortex_m_quickstart/index.html) (we still need more docs) to try out this preview. 

We would love your input on [these unresolved questions](rust-embedded/cortex-m-rt#69 (comment))

This PR depends on:

- rust-embedded/cortex-m-rt#69
- rust-embedded/cortex-m#88
- rust-embedded/panic-semihosting#2
- rust-embedded/svd2rust#203
- japaric/stm32f103xx#24

Co-authored-by: Jorge Aparicio <jorge@japaric.io>
@bors
Copy link
Contributor

bors bot commented May 12, 2018

Build succeeded

@bors bors bot merged commit 66c0c58 into master May 12, 2018
@japaric japaric deleted the less-unstable branch May 12, 2018 19:04
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

Successfully merging this pull request may close these issues.

1 participant