Skip to content

Commit 0f4e2df

Browse files
committed
Fix tests and allow travis to build nostd
1 parent e7fc309 commit 0f4e2df

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ os:
1212
script:
1313
- cargo build --release --all --verbose
1414
- cargo test --release --all --verbose
15+
- if [ "$TRAVIS_RUST_VERSION" == "nightly" ]; cargo build --no-default-features; fi
1516

1617
matrix:
1718
allow_failures:

src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ extern crate block_core;
2929
extern crate sha3;
3030
extern crate digest;
3131

32+
#[cfg(feature = "std")]
33+
extern crate block;
3234
#[cfg(feature = "std")]
3335
extern crate ripemd160;
3436
#[cfg(feature = "std")]

0 commit comments

Comments
 (0)