-
Notifications
You must be signed in to change notification settings - Fork 253
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Vladyslav Batyrenko <[email protected]>
- Loading branch information
Showing
1 changed file
with
1 addition
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,6 @@ | ||
[alias] | ||
run-wasm = ["run", "--release", "--package", "run-wasm", "--"] | ||
|
||
# Credits to https://github.com/emilk/egui | ||
|
||
# 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 | ||
#[build] | ||
#target = "wasm32-unknown-unknown" | ||
|
||
# Using unstable APIs is required for writing to clipboard | ||
[target.wasm32-unknown-unknown] | ||
rustflags = ["--cfg=web_sys_unstable_apis"] |