Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix example custom_asset_reader on wasm (bevyengine#10574)
# Objective - Example `custom_asset_reader` fails to build in wasm ``` $ cargo build --profile release --target wasm32-unknown-unknown --example custom_asset_reader Compiling bevy v0.12.0 (/Users/runner/work/bevy-website/bevy-website) error[E0432]: unresolved import `bevy::asset::io::file` --> examples/asset/custom_asset_reader.rs:7:9 | 7 | file::FileAssetReader, AssetReader, AssetReaderError, AssetSource, AssetSourceId, | ``` ## Solution - Wrap the platform default asset reader instead of the `FileAssetReader`
- Loading branch information