forked from M-Labs/rust-fatfs
Try to fix CI for old rustc versions by pinning cfg-if to 0.1.9
This should fix error: non-ident macro paths are experimental (see issue #35896)
This commit is contained in:
parent
75789c6a00
commit
0676e40b25
@ -7,6 +7,7 @@ matrix:
|
|||||||
- rust: 1.24.0
|
- rust: 1.24.0
|
||||||
script:
|
script:
|
||||||
# Build only the library (examples may fail)
|
# Build only the library (examples may fail)
|
||||||
|
- cargo update && cargo update -p cfg-if --precise 0.1.9
|
||||||
- cargo build
|
- cargo build
|
||||||
- rust: stable
|
- rust: stable
|
||||||
- rust: beta
|
- rust: beta
|
||||||
@ -16,7 +17,7 @@ matrix:
|
|||||||
# nostd build
|
# nostd build
|
||||||
# byteorder crate version is configured here to fix build in old nightly compiler
|
# byteorder crate version is configured here to fix build in old nightly compiler
|
||||||
# See: https://github.com/BurntSushi/byteorder/pull/150
|
# See: https://github.com/BurntSushi/byteorder/pull/150
|
||||||
- cargo update && cargo update -p byteorder --precise 1.2.7
|
- cargo update && cargo update -p byteorder --precise 1.2.7 && cargo update -p cfg-if --precise 0.1.9
|
||||||
- cargo build --no-default-features --features core_io
|
- cargo build --no-default-features --features core_io
|
||||||
- cargo build --no-default-features --features core_io,alloc
|
- cargo build --no-default-features --features core_io,alloc
|
||||||
- rust: nightly-2019-07-01
|
- rust: nightly-2019-07-01
|
||||||
|
Loading…
Reference in New Issue
Block a user