mirror of
https://github.com/rustwasm/wasm-bindgen.git
synced 2024-12-13 06:44:13 +03:00
9a7732f7a7
* Add support for exporting static getters and setters Fixes #2895 Exported methods with `#[wasm_bindgen(getter/setter)]` and no `self` parameter are now interpreted as getters/setters for static fields. Previously, attempting to do that would cause `wasm-bindgen` to crash. This can already be done for imports with `static_method_of` + `getter`. * Rename `AuxExportMethodKind` to `AuxExportedMethodKind` |
||
---|---|---|
.. | ||
crates | ||
headless | ||
no-std | ||
wasm | ||
must_use.rs | ||
non_wasm.rs | ||
std-crate-no-std-dep.rs | ||
unwrap_throw.rs |