Open
Description
Running trunk serve
shows this doesn't seem to matter which features I use because I set default features false
anyway and only use the rhai
feature. Does bevy_mod_scripting rely on this bevy_asset feature?
2025-02-09T11:05:58.247667Z INFO 📦 starting build
Compiling bevy_asset v0.15.2
Compiling gilrs v0.11.0
Compiling accesskit_winit v0.23.1
Compiling bevy_state v0.15.2
error: The "file_watcher" feature for hot reloading does not work on Wasm.
Disable "file_watcher" when compiling to Wasm
--> /home/qat/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_asset-0.15.2/src/io/mod.rs:2:1
|
2 | / compile_error!(
3 | | "The \"file_watcher\" feature for hot reloading does not work \
4 | | on Wasm.\nDisable \"file_watcher\" \
5 | | when compiling to Wasm"
6 | | );
| |_^
Compiling instant v0.1.13
Compiling thin-vec v0.2.13
Compiling rhai v1.21.0
error: could not compile `bevy_asset` (lib) due to 1 previous error
warning: build failed, waiting for other jobs to finish...
2025-02-09T11:07:01.403243Z ERROR ❌ error
error from build pipeline
Caused by:
0: HTML build pipeline failed (1 errors), showing first
1: error from asset pipeline
2: running cargo build
3: error during cargo build execution
4: cargo call to executable 'cargo' with args: '["build", "--target=wasm32-unknown-unknown", "--manifest-path", "/h
ome/qat/tyconia/Cargo.toml"]' returned a bad status: exit status: 101
Metadata
Metadata
Assignees
Labels
No labels