Skip to content

Commit 817b6fb

Browse files
committed
Don't test doc comments.
rust-lang/rust-bindgen#1384 makes bindgen respect whitespace in documentation comments instead of trimming them. This means that some of the comments from the C++ examples try to get compiled as Rust, with a bad result for `cargo test`s purposes. Just test using cargo test --lib. An alternative would be to disable doc comments in bindgen.
1 parent f50c2a2 commit 817b6fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ before_script:
3232
script:
3333
- ccache -z
3434
- CCACHE=$(which ccache) travis_wait cargo build --verbose $FEATURES
35-
- CCACHE=$(which ccache) RUST_BACKTRACE=1 cargo test --verbose $FEATURES
35+
- CCACHE=$(which ccache) RUST_BACKTRACE=1 cargo test --lib --verbose $FEATURES
3636
- ccache -s
3737

3838
notifications:

0 commit comments

Comments
 (0)