Work around no_std build failure in travis
Issue is caused by core_io crate requiring very old rustc which is not compatible with byteorder create since version 1.3. In crates depending on fatfs byteorder version can be overriden in their Cargo.toml file.
This commit is contained in:
parent
6ee7e3fc16
commit
44d01bb164
@ -14,6 +14,9 @@ matrix:
|
|||||||
- rust: nightly-2018-03-07
|
- rust: nightly-2018-03-07
|
||||||
script:
|
script:
|
||||||
# nostd build
|
# nostd build
|
||||||
|
# byteorder crate version is configured here to fix build in old nightly compiler
|
||||||
|
# See: https://github.com/BurntSushi/byteorder/pull/150
|
||||||
|
- cargo update -p byteorder --precise 1.2.7
|
||||||
- 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,core_io/collections
|
- cargo build --no-default-features --features core_io,alloc,core_io/collections
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user