File tree 3 files changed +4
-4
lines changed 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ features = ["small_rng"]
30
30
version = " 0.7"
31
31
32
32
[target .'cfg(not(target_os = "none"))' .dev-dependencies ]
33
- compiletest_rs = " 0.3.25 "
33
+ compiletest_rs = " 0.4.0 "
34
34
35
35
[[example ]]
36
36
name = " device"
Original file line number Diff line number Diff line change 5
5
6
6
cargo check --target $TARGET --features device
7
7
8
- if [ $TARGET = x86_64-unknown-linux-gnu ] && [ $TRAVIS_RUST_VERSION = nightly ]; then
8
+ if [ $TARGET = x86_64-unknown-linux-gnu ] && [ $TRAVIS_RUST_VERSION = stable ]; then
9
9
( cd macros && cargo check && cargo test )
10
10
11
11
cargo test --features device --test compiletest
@@ -73,7 +73,7 @@ main() {
73
73
# linking with GNU LD
74
74
env RUSTFLAGS=" -C linker=arm-none-eabi-ld -C link-arg=-Tlink.x" cargo run --target $TARGET --example qemu | grep " x = 42"
75
75
env RUSTFLAGS=" -C linker=arm-none-eabi-ld -C link-arg=-Tlink.x" cargo run --target $TARGET --example qemu --release | grep " x = 42"
76
-
76
+
77
77
# linking with rustc's LLD
78
78
cargo run --target $TARGET --example qemu | grep " x = 42"
79
79
cargo run --target $TARGET --example qemu --release | grep " x = 42"
Original file line number Diff line number Diff line change @@ -19,4 +19,4 @@ enum interrupt {
19
19
// NOTE this looks a bit better when using a device crate:
20
20
// "no variant named `foo` found for type `stm32f30x::Interrupt` in the current scope"
21
21
#[ interrupt]
22
- fn foo ( ) { } //~ ERROR no variant named `foo` found for type `interrupt` in the current scope
22
+ fn foo ( ) { } //~ ERROR no variant or associated item named `foo` found for type `interrupt` in the current scope
You can’t perform that action at this time.
0 commit comments