Skip to content

Commit

Permalink
Hotfix for wasm
Browse files Browse the repository at this point in the history
  • Loading branch information
margual56 committed Nov 3, 2023
1 parent dd069cb commit cf83042
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,8 @@ fn do_cli(args: Cli) {

#[cfg(target_arch = "wasm32")]
fn main() {
use eframe::egui;

let web_options = eframe::WebOptions::default();
wasm_bindgen_futures::spawn_local(async {
eframe::WebRunner::new()
Expand Down

0 comments on commit cf83042

Please sign in to comment.