From 8e523d036c83fff35182d2fc50d042da866982a7 Mon Sep 17 00:00:00 2001 From: Jorge Aparicio Date: Fri, 8 Dec 2017 13:28:27 +0100 Subject: [PATCH 1/2] fix cfail tests --- Cargo.toml | 2 +- tests/cfail/interrupt.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 3b2aaffa8b..5675d76749 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -19,7 +19,7 @@ rtfm-core = "0.1.0" cortex-m-rtfm-macros = "0.2.1" [target.'cfg(target_arch = "x86_64")'.dev-dependencies] -compiletest_rs = "0.2.8" +compiletest_rs = "0.3.3" [dev-dependencies.cortex-m-rt] features = ["abort-on-panic"] diff --git a/tests/cfail/interrupt.rs b/tests/cfail/interrupt.rs index 66d2098be5..b913d83202 100644 --- a/tests/cfail/interrupt.rs +++ b/tests/cfail/interrupt.rs @@ -8,7 +8,7 @@ extern crate stm32f103xx; use rtfm::app; app! { - //~^ error no associated item named `EXTI33` found for type + //~^ error no variant named `EXTI33` found for type device: stm32f103xx, tasks: { From 815c3d960d74c1d7c304b1f8c4040d704c19eb7b Mon Sep 17 00:00:00 2001 From: Jorge Aparicio Date: Fri, 8 Dec 2017 13:37:46 +0100 Subject: [PATCH 2/2] ci: switch back to a recent nightly --- .travis.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index d92045592a..094e996c93 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,8 +3,7 @@ language: rust matrix: include: - env: TARGET=x86_64-unknown-linux-gnu - # work around problem about 'every suggestion should have at least one span' - rust: nightly-2017-11-21 + rust: nightly - env: TARGET=thumbv6m-none-eabi rust: nightly