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"]
3232# all unused attributes
3333strict-macro = [" wasm-bindgen-macro/strict-macro" ]
3434
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
3636# are handled correctly
3737gg-alloc = [" wasm-bindgen-test/gg-alloc" ]
3838
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
4040# this at your own peril!
4141xxx_debug_only_print_generated_code = [" wasm-bindgen-macro/xxx_debug_only_print_generated_code" ]
4242
Original file line number Diff line number Diff line change 1111//!
1212//! Enables the internal cache for [`wasm_bindgen::intern`].
1313//!
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.
1916//!
2017//! ### `std` (default)
2118//!
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.
2322//!
2423//! ### `strict-macro`
2524//!
You can’t perform that action at this time.
0 commit comments