diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index 9a38f75..6eecd51 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -13,13 +13,6 @@ on: # types: # - published -env: - # --cfg=web_sys_unstable_apis is required to enable the web_sys clipboard API which egui_web uses - # https://rustwasm.github.io/wasm-bindgen/api/web_sys/struct.Clipboard.html - # https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html - RUSTFLAGS: -D warnings --cfg=web_sys_unstable_apis -C target-feature=+bulk-memory - RUSTDOCFLAGS: -D warnings - permissions: contents: write # for committing to gh-pages branch. diff --git a/crates/rpack_egui/.cargo/config.toml b/crates/rpack_egui/.cargo/config.toml index bac83fe..be614b0 100644 --- a/crates/rpack_egui/.cargo/config.toml +++ b/crates/rpack_egui/.cargo/config.toml @@ -3,4 +3,4 @@ # check status at https://developer.mozilla.org/en-US/docs/Web/API/Clipboard#browser_compatibility # we don't use `[build]` because of rust analyzer's build cache invalidation https://github.com/emilk/eframe_template/issues/93 [target.wasm32-unknown-unknown] -rustflags = ["--cfg=web_sys_unstable_apis"] \ No newline at end of file +rustflags = ["--cfg=web_sys_unstable_apis"] diff --git a/crates/rpack_egui/index.html b/crates/rpack_egui/index.html index 5962653..9a72f63 100644 --- a/crates/rpack_egui/index.html +++ b/crates/rpack_egui/index.html @@ -13,7 +13,12 @@ rPack - + diff --git a/crates/rpack_egui/justfile b/crates/rpack_egui/justfile index ccd506e..19e758c 100644 --- a/crates/rpack_egui/justfile +++ b/crates/rpack_egui/justfile @@ -12,4 +12,4 @@ create_mac_installer: bundle # Create the installer using cargo-bundler bundle: - cargo bundler -r + cargo bundler -r {{format_bundle}}