Skip to content
This repository has been archived by the owner on Nov 28, 2023. It is now read-only.

Trap handler override improvments #81

Merged

Conversation

MabezDev
Copy link
Member

@MabezDev MabezDev commented Nov 8, 2021

  • Add ability to override trap handling mechanism
    • Previously, _start_trap was marked as weak, which when compiled
      into a static archive, that information is ignored.
    • Now by default we PROVIDE the default trap handler, if another one
      has not been specified from another crate.
  • Mark the fields of Vector public, for use outside of riscv-rt

* Add ability to override trap handling mechanism
  * Previously, `_start_trap` was marked as weak, which when compiled
    into a static archive, that information is ignored.
  * Now by default we `PROVIDE` the default trap handler, if another one
    has not been specified from another crate.
* Mark the fields of `Vector` public, for use outside of `riscv-rt`
@MabezDev MabezDev requested a review from a team as a code owner November 8, 2021 12:33
@thejpster
Copy link

Looks OK to me

Copy link
Contributor

@almindor almindor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@almindor
Copy link
Contributor

bors r+

@bors
Copy link
Contributor

bors bot commented Nov 10, 2021

Build succeeded:

@bors bors bot merged commit 1e9c004 into rust-embedded:master Nov 10, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants