1
0
mirror of https://github.com/emilk/egui.git synced 2026-09-03 15:20:05 -04:00

eframe: Fix building the wasm32 docs for docs.rs (#3757)

* Closes https://github.com/emilk/egui/issues/3756

Fix suggested by @morionelab
This commit is contained in:
Emil Ernerfeldt
2023-12-31 10:26:02 +01:00
committed by GitHub
parent 9951fe0d36
commit 12468438a3
2 changed files with 16 additions and 4 deletions

View File

@@ -21,6 +21,7 @@ include = [
[package.metadata.docs.rs]
all-features = true
rustc-args = ["--cfg=web_sys_unstable_apis"]
targets = ["x86_64-unknown-linux-gnu", "wasm32-unknown-unknown"]
[lib]