diff --git a/README.MD b/README.MD index eacd6e8..c275c8e 100644 --- a/README.MD +++ b/README.MD @@ -1,5 +1,5 @@ # Bevy in Web Worker -[README 中文](README_zh.md) +[README 中文](./README_zh.md) Showcasing how to run the `Bevy` App within a `Web Worker` and the interaction between HTML elements and Bevy. diff --git a/build-wasm.sh b/build-wasm.sh index a593337..133a6c2 100755 --- a/build-wasm.sh +++ b/build-wasm.sh @@ -1,6 +1,6 @@ set -e -RUSTFLAGS=--cfg=web_sys_unstable_apis cargo build --no-default-features --profile wasm-release \ +cargo build --no-default-features --profile wasm-release \ --target wasm32-unknown-unknown # Generate bindings diff --git a/run-wasm.sh b/run-wasm.sh index bd1041c..d7acf30 100644 --- a/run-wasm.sh +++ b/run-wasm.sh @@ -2,7 +2,7 @@ set -e # worker 中运行时,debug 模式下会有前几帧须要拉长帧时间间隔的问题 # https://github.com/bevyengine/bevy/issues/13345 -RUSTFLAGS=--cfg=web_sys_unstable_apis cargo build --no-default-features \ +cargo build --no-default-features \ --target wasm32-unknown-unknown # Generate bindings