Skip to content

Commit 37c571c

Browse files
committed
Fix travis
1 parent 7604f0e commit 37c571c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ matrix:
88
- rust: nightly
99
name: "allocator api"
1010
script:
11-
- cargo test --features allocator-api
11+
- cargo test --features 'allocator-api global'
1212
- rust: nightly
1313
name: "wasm"
1414
install: rustup target add wasm32-unknown-unknown

tests/global.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#![cfg(feature = "allocator-api")]
1+
#![cfg(all(feature = "allocator-api", feature = "global"))]
22
#![feature(global_allocator)]
33

44
extern crate dlmalloc;

0 commit comments

Comments
 (0)