Skip to content

add thumbv8m baseline support #123

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

Merged
merged 1 commit into from
Nov 3, 2018
Merged

add thumbv8m baseline support #123

merged 1 commit into from
Nov 3, 2018

Conversation

evq
Copy link
Contributor

@evq evq commented Nov 3, 2018

No description provided.

@evq evq requested a review from a team as a code owner November 3, 2018 22:43
@therealprof
Copy link
Contributor

bors r+

bors bot added a commit that referenced this pull request Nov 3, 2018
123: add thumbv8m baseline support r=therealprof a=evq



Co-authored-by: eV <[email protected]>
@bors
Copy link
Contributor

bors bot commented Nov 3, 2018

Build succeeded

@bors bors bot merged commit 653aa60 into rust-embedded:master Nov 3, 2018
@thejpster
Copy link
Contributor

Thank you! I had exactly the same diff ;)

@evq evq mentioned this pull request Feb 7, 2019
adamgreig pushed a commit that referenced this pull request Jan 12, 2022
123: respect declared unsafety r=therealprof a=japaric

the `#[entry]` and `#[exception]` attributes ignored the declared unsafety and
always expanded to a safe function. This caused the following valid code to
error at compile time:

``` rust
 #[entry]
unsafe fn main() -> ! {
    foo();
    //~^ ERROR call to unsafe function is unsafe and requires unsafe function or block

    loop {}
}

unsafe fn foo() {}
```

r? @rust-embedded/cortex-m (anyone)

Co-authored-by: Jorge Aparicio <[email protected]>
adamgreig pushed a commit that referenced this pull request Jan 12, 2022
this is a backport of PR #123
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.

3 participants