summaryrefslogtreecommitdiff
path: root/.cargo
diff options
context:
space:
mode:
authorEmil Ernerfeldt <emil.ernerfeldt@gmail.com>2024-08-26 16:31:38 +0200
committerGitHub <noreply@github.com>2024-08-26 16:31:38 +0200
commita9a6e0c2f223419d52a90cb3d40e211810caf1ee (patch)
tree1a34ab90ea9b4f74f685fbd2a7e9f978c4cb84e6 /.cargo
parent47c0aeb7b9cef00d7793b2e84dc6e6a10c83552a (diff)
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
Diffstat (limited to '.cargo')
-rw-r--r--.cargo/config.toml7
1 files changed, 0 insertions, 7 deletions
diff --git a/.cargo/config.toml b/.cargo/config.toml
index b18b6ce7..9741f113 100644
--- a/.cargo/config.toml
+++ b/.cargo/config.toml
@@ -1,9 +1,2 @@
-# clipboard api is still unstable, so web-sys requires the below flag to be passed for copy (ctrl + c) to work
-# https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html
-# 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"]
-
[alias]
xtask = "run --quiet --package xtask --"