File tree Expand file tree Collapse file tree 2 files changed +7
-8
lines changed Expand file tree Collapse file tree 2 files changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -32,11 +32,11 @@ std = ["wasm-bindgen-macro/std", "once_cell/std"]
32
32
# all unused attributes
33
33
strict-macro = [" wasm-bindgen-macro/strict-macro" ]
34
34
35
- # Enables gg-alloc as system allocator when using wasm-bindgen-test to check that large pointers
35
+ # INTERNAL ONLY: Enables gg-alloc as system allocator when using wasm-bindgen-test to check that large pointers
36
36
# are handled correctly
37
37
gg-alloc = [" wasm-bindgen-test/gg-alloc" ]
38
38
39
- # This is only for debugging wasm-bindgen! No stability guarantees, so enable
39
+ # INTERNAL ONLY: This is only for debugging wasm-bindgen! No stability guarantees, so enable
40
40
# this at your own peril!
41
41
xxx_debug_only_print_generated_code = [" wasm-bindgen-macro/xxx_debug_only_print_generated_code" ]
42
42
Original file line number Diff line number Diff line change 11
11
//!
12
12
//! Enables the internal cache for [`wasm_bindgen::intern`].
13
13
//!
14
- //! ### `gg-alloc`
15
- //!
16
- //! Uses [`gg-allow`](https://crates.io/crates/gg-alloc) as the global allocator
17
- //! when using `wasm-bindgen-test` to ensure that pointers outside the `i32`
18
- //! range are handled correctly.
14
+ //! This feature currently enables the `std` feature, meaning that it is not
15
+ //! compatible with `no_std` environments.
19
16
//!
20
17
//! ### `std` (default)
21
18
//!
22
- //! TODO:
19
+ //! Enabling this feature will make the crate depend on the Rust standard library.
20
+ //!
21
+ //! Disable this feature to use this crate in `no_std` environments.
23
22
//!
24
23
//! ### `strict-macro`
25
24
//!
You can’t perform that action at this time.
0 commit comments