Skip to content

Commit

Permalink
Make web_sys always no_std, std feature only cascades to other deps
Browse files Browse the repository at this point in the history
  • Loading branch information
Dinnerbone committed Dec 25, 2024
1 parent 455cf46 commit 13d5da1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@
* Internal functions are now removed instead of invalidly imported if they are unused.
[#4366](https://github.com/rustwasm/wasm-bindgen/pull/4366)

* `web-sys` crate now fully works on `no_std`.
[#4378](https://github.com/rustwasm/wasm-bindgen/pull/4378)

--------------------------------------------------------------------------------

## [0.2.99](https://github.com/rustwasm/wasm-bindgen/compare/0.2.98...0.2.99)
Expand Down
2 changes: 1 addition & 1 deletion crates/web-sys/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
//! require.
#![doc(html_root_url = "https://docs.rs/web-sys/0.3")]
#![cfg_attr(not(feature = "std"), no_std)]
#![no_std]
#![allow(deprecated)]

extern crate alloc;
Expand Down

0 comments on commit 13d5da1

Please sign in to comment.