Skip to content

Commit 966b99d

Browse files
committed
Fix #414
Partially reverts rust-embedded/cortex-m-rt#224 to continue to use a fully-qualified path to `exception`.
1 parent 0811180 commit 966b99d

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

cortex-m-rt/CHANGELOG.md

+11
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,17 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
77

88
## [Unreleased]
99

10+
## Fixes
11+
12+
- Fix `cortex_m_rt::exception` macro no longer being usable fully-qualified ([#414])
13+
14+
[#414]: https://github.com/rust-embedded/cortex-m/issues/414
15+
16+
## Notes
17+
18+
- From this release onwards, cortex-m-rt lives in the cortex-m repository;
19+
issue numbers refer there.
20+
1021
## [v0.7.1]
1122

1223
## Fixes

cortex-m-rt/macros/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ pub fn exception(args: TokenStream, input: TokenStream) -> TokenStream {
328328
f.block.stmts = iter::once(
329329
syn::parse2(quote! {{
330330
// check that this exception actually exists
331-
exception::#ident;
331+
cortex_m_rt::exception::#ident;
332332
}})
333333
.unwrap(),
334334
)

0 commit comments

Comments
 (0)