File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 6
6
- rust : beta
7
7
- rust : nightly
8
8
- rust : nightly
9
+ name : " allocator api"
9
10
script :
10
11
- cargo test --features allocator-api
11
12
- rust : nightly
13
+ name : " wasm"
12
14
install : rustup target add wasm32-unknown-unknown
13
15
script :
14
16
- cargo build --target wasm32-unknown-unknown
@@ -17,6 +19,7 @@ matrix:
17
19
script :
18
20
- cargo test
19
21
- cargo test --features debug
22
+ - cargo test --features global
20
23
- cargo test --release
21
24
- cargo test --release --features debug
22
25
- RUSTFLAGS='--cfg test_lots' cargo test --release
Original file line number Diff line number Diff line change @@ -17,7 +17,12 @@ rand = "0.3"
17
17
debug-assertions = true
18
18
19
19
[features ]
20
- default = [" global" ]
20
+ # Enable implementations of the `GlobalAlloc` standard library API, exporting a
21
+ # new `GlobalDlmalloc` as well which implements this trait.
21
22
global = []
23
+
24
+ # Enable very expensive debug checks in this crate
22
25
debug = []
26
+
27
+ # Enable experimental support for the standard library's unstable allocator API.
23
28
allocator-api = []
You can’t perform that action at this time.
0 commit comments