Skip to content

Commit 03215af

Browse files
Done
1 parent de3bc08 commit 03215af

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@ std = ["wasm-bindgen-macro/std", "once_cell/std"]
3232
# all unused attributes
3333
strict-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
3737
gg-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!
4141
xxx_debug_only_print_generated_code = ["wasm-bindgen-macro/xxx_debug_only_print_generated_code"]
4242

src/lib.rs

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,14 @@
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
//!

0 commit comments

Comments
 (0)