mirror of
https://github.com/emilk/egui.git
synced 2026-08-31 22:00:03 -04:00
Remove the need for setting web_sys_unstable_apis (#5000)
* No longer required since https://github.com/emilk/egui/pull/4980 And despite some outdated comments, wgpu/WebGPU doesn't need it either
This commit is contained in:
@@ -10,9 +10,6 @@
|
||||
//! call [`crate::run_native`] from your `main.rs`, and/or use `eframe::WebRunner` from your `lib.rs`.
|
||||
//!
|
||||
//! ## Compiling for web
|
||||
//! To get copy-paste working on web, you need to compile with
|
||||
//! `export RUSTFLAGS=--cfg=web_sys_unstable_apis`.
|
||||
//!
|
||||
//! You need to install the `wasm32` target with `rustup target add wasm32-unknown-unknown`.
|
||||
//!
|
||||
//! Build the `.wasm` using `cargo build --target wasm32-unknown-unknown`
|
||||
|
||||
Reference in New Issue
Block a user