File tree 4 files changed +13
-35
lines changed
4 files changed +13
-35
lines changed Original file line number Diff line number Diff line change
1
+ README.md - diff - merge
Original file line number Diff line number Diff line change @@ -23,7 +23,8 @@ script:
23
23
24
24
matrix :
25
25
include :
26
- - rust : stable
26
+ - name : " Windows Builds"
27
+ rust : stable
27
28
before_script :
28
29
- rustup target add i686-pc-windows-gnu
29
30
script :
@@ -32,3 +33,9 @@ matrix:
32
33
- cargo check --release
33
34
- cargo check --release --no-default-features --target i686-pc-windows-gnu
34
35
- cargo check --release --target i686-pc-windows-gnu
36
+ - name : " Stable Wasm Builds"
37
+ rust : stable
38
+ before_script :
39
+ - rustup target add wasm32-unknown-unknown
40
+ script :
41
+ - cargo check -p wee_alloc --target wasm32-unknown-unknown
Original file line number Diff line number Diff line change @@ -30,8 +30,9 @@ and a static array-based backend for OS-independent environments. This enables
30
30
testing ` wee_alloc ` , and code using ` wee_alloc ` , without a browser or
31
31
WebAssembly engine.
32
32
33
+ ` wee_alloc ` compiles on stable Rust 1.33 and newer.
34
+
33
35
- [ Using ` wee_alloc ` as the Global Allocator] ( #using-wee_alloc-as-the-global-allocator )
34
- - [ Does ` wee_alloc ` require nightly Rust?] ( #does-wee_alloc-require-nightly-rust )
35
36
- [ ` cargo ` Features] ( #cargo-features )
36
37
- [ Implementation Notes and Constraints] ( #implementation-notes-and-constraints )
37
38
- [ License] ( #license )
@@ -47,22 +48,6 @@ extern crate wee_alloc;
47
48
static ALLOC : wee_alloc :: WeeAlloc = wee_alloc :: WeeAlloc :: INIT ;
48
49
```
49
50
50
- ### Does ` wee_alloc ` require nightly Rust?
51
-
52
- Sometimes.
53
-
54
- Notably, using ` wee_alloc ` when targeting WebAssembly requires nightly in order
55
- to get access to the Wasm ` grow_memory ` instruction (currently exposed as part
56
- of the ` stdsimd ` nightly feature).
57
-
58
- Targeting Unix and Windows does not require nightly Rust.
59
-
60
- The static array-based backend requires nightly Rust in order to have ` const `
61
- spin locks.
62
-
63
- Additional nightly-only features can be enabled with the "nightly" cargo
64
- feature. See below.
65
-
66
51
### ` cargo ` Features
67
52
68
53
- ** size_classes** : On by default. Use size classes for smaller allocations to
Original file line number Diff line number Diff line change @@ -29,8 +29,9 @@ and a static array-based backend for OS-independent environments. This enables
29
29
testing `wee_alloc`, and code using `wee_alloc`, without a browser or
30
30
WebAssembly engine.
31
31
32
+ `wee_alloc` compiles on stable Rust 1.33 and newer.
33
+
32
34
- [Using `wee_alloc` as the Global Allocator](#using-wee_alloc-as-the-global-allocator)
33
- - [Does `wee_alloc` require nightly Rust?](#does-wee_alloc-require-nightly-rust)
34
35
- [`cargo` Features](#cargo-features)
35
36
- [Implementation Notes and Constraints](#implementation-notes-and-constraints)
36
37
- [License](#license)
@@ -47,22 +48,6 @@ static ALLOC: wee_alloc::WeeAlloc = wee_alloc::WeeAlloc::INIT;
47
48
# fn main() {}
48
49
```
49
50
50
- ## Does `wee_alloc` require nightly Rust?
51
-
52
- Sometimes.
53
-
54
- Notably, using `wee_alloc` when targeting WebAssembly requires nightly in order
55
- to get access to the Wasm `grow_memory` instruction (currently exposed as part
56
- of the `stdsimd` nightly feature).
57
-
58
- Targeting Unix and Windows does not require nightly Rust.
59
-
60
- The static array-based backend requires nightly Rust in order to have `const`
61
- spin locks.
62
-
63
- Additional nightly-only features can be enabled with the "nightly" cargo
64
- feature. See below.
65
-
66
51
## `cargo` Features
67
52
68
53
- **size_classes**: On by default. Use size classes for smaller allocations to
You can’t perform that action at this time.
0 commit comments