diff options
author | 2020-04-21 20:02:28 +0000 | |
---|---|---|
committer | 2020-04-21 20:02:28 +0000 | |
commit | bb59606b7cf14105492c034c9875edc4c1725da0 (patch) | |
tree | e3e05c8d0a08860a75f7bdb15b0be8543fc8ec83 /macros/src/codegen/init.rs | |
parent | e870a68893fd0e7a7f544858846fa5e9eac94b4a (diff) | |
parent | 0bd40dad7dc699b80747faedc938210de50a45d5 (diff) | |
download | rtic-bb59606b7cf14105492c034c9875edc4c1725da0.tar.gz rtic-bb59606b7cf14105492c034c9875edc4c1725da0.tar.zst rtic-bb59606b7cf14105492c034c9875edc4c1725da0.zip |
Merge #307
307: Use build.rs for conditional compilation r=korken89 a=AfoHT
Extend the current test suite to allow for running tests on newer rustc-versions than current MSRV.
Required by #306 to add special tests for future MSRV.
To exclude an example from the regular non-nightly testing:
```
#![no_main]
#![no_std]
#[cfg(rustc_is_nightly)]
mod example {
use panic_halt as _;
#[rtfm::app(device = lm3s6965)]
const APP: () = {
<more code>
}
}
```
Co-authored-by: Henrik Tjäder <henrik@tjaders.com>
Diffstat (limited to 'macros/src/codegen/init.rs')
0 files changed, 0 insertions, 0 deletions