aboutsummaryrefslogtreecommitdiff
path: root/cortex-m-rt/tests (follow)
AgeCommit message (Collapse)AuthorFilesLines
2023-07-21Add readme with test running clarificationGravatar Dion Dokter 1-0/+7
2023-07-21Changed setup for better compiler diagnostics. We won't get a nasty assembly ↵Gravatar Dion Dokter 2-1/+27
error anymore
2023-06-20Added more tests and fixed a panicGravatar Dion Dokter 2-0/+36
2022-08-12Fix CI compiletest breakage due to Rust 1.63Gravatar Dario Nieuwenhuis 1-2/+2
2022-01-21Fix break in compilefail tests on 1.58Gravatar Adam Greig 1-2/+4
2022-01-12Fix cortex-m-rt compiletest testsGravatar Adam Greig 2-4/+3
2021-01-26Add compile-fail testGravatar Jonas Schievink 1-0/+16
2021-01-08Fix compile-fail test error messageGravatar Jonas Schievink 1-1/+1
2020-08-23Make it unsafe to define NMI handlersGravatar Jonas Schievink 8-13/+37
2020-07-21Run rustfmt to make CI happierGravatar Daniel Egger 1-2/+3
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
2020-03-30New compile-fail string for interrupt-invalidGravatar Emil Fresk 1-1/+1
2020-01-16Updated to not need blacklistGravatar Emil Fresk 4-16/+16
2020-01-16Even better error messagesGravatar Emil Fresk 1-1/+1
# Please enter the commit message for your changes. Lines starting Formating fix
2020-01-16Better error messageGravatar Emil Fresk 1-1/+1
Co-Authored-By: Jonas Schievink <jonasschievink@gmail.com>
2020-01-16Better error message on multiple attributesGravatar Emil Fresk 1-1/+1
2020-01-08Added test for double attributeGravatar Emil Fresk 1-0/+13
2020-01-07Updated per commentsGravatar Emil Fresk 5-1/+25
2019-12-29Changed to whitelistGravatar Emil Fresk 4-12/+12
2019-12-29Added blacklisted attributesGravatar Emil Fresk 4-0/+104
2019-12-28Fixed changed compile-fail messagesGravatar Emil Fresk 2-2/+2
2019-11-21Add some compile-fail testsGravatar Jonas Schievink 2-0/+88
2019-11-21Rename a function to not collideGravatar Jonas Schievink 1-1/+1
Functions with the same name in the same module will now collide (just like they do in normal Rust code)
2019-11-21Fix interrupt-invalid.rs on stableGravatar Jonas Schievink 1-1/+1
2019-01-22update cfail tests to make them pass with latest nightlyGravatar Jorge Aparicio 6-2/+8
2018-12-06update error messageGravatar Jorge Aparicio 1-1/+1
2018-11-14update cfail testGravatar Jorge Aparicio 1-1/+1
2018-11-04reject duplicate `static mut` variablesGravatar Jorge Aparicio 1-0/+31
after #140 landed the entry, exception and interrupt attributes started accepting code like this: ``` rust #[entry] fn main() -> ! { static mut FOO: u32 = 0; static mut FOO: i32 = 0; } ``` because that code expands into: ``` rust fn main() -> ! { let FOO: &'static mut u32 = unsafe { static mut FOO: u32 = 0; &mut FOO }; // shadows previous variable let FOO: &'static mut u32 = unsafe { static mut FOO: i32 = 0; &mut FOO }; } ``` this commit adds a check that rejects `static mut`s with duplicated names to these three attributes.
2018-10-26update error messages in compile-fail testsGravatar Jorge Aparicio 16-32/+28
2018-10-09Merge branch 'master' into interruptGravatar Adam Greig 25-25/+25
2018-09-18implement `#[interrupt]`Gravatar Jorge Aparicio 7-0/+162
2018-09-18use panic-halt instead of panic-{abort,semihosting}Gravatar Jorge Aparicio 25-25/+25
the former requires a feature gate; the later pulls in the cortex-m crate
2018-09-06v0.6.0Gravatar Jorge Aparicio 2-0/+55
this also adds compile-fail soundness tests and patches a soundness issue in `#[entry]`
2018-09-06test that function with wrong return types are rejectedGravatar Jorge Aparicio 2-0/+36
2018-09-06relax checks of the signatures of `entry` and the exceptionsGravatar Jorge Aparicio 12-106/+7
2018-09-06add compile-fail tests for passing arguments to the attributesGravatar Jorge Aparicio 3-0/+45
2018-09-06add compile-fail tests; test only on nightlyGravatar Jorge Aparicio 25-0/+452
we'll test on beta when 1.30-beta is out