Skip to content

Commit

Permalink
Remove some asset examples from web showcase (#14973)
Browse files Browse the repository at this point in the history
# Objective

- `custom_asset_reader` and `extra_asset_source` examples are not
working on web.
- Fixes #14689

## Solution

- Make these examples `wasm=false` per
#14689 (comment)

## Testing
  • Loading branch information
akimakinai authored Aug 29, 2024
1 parent 565324d commit 1cca4f2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -1407,7 +1407,8 @@ doc-scrape-examples = true
name = "Custom Asset IO"
description = "Implements a custom AssetReader"
category = "Assets"
wasm = true
# Incompatible with the asset path patching of the example-showcase tool
wasm = false

[[example]]
name = "embedded_asset"
Expand All @@ -1429,7 +1430,8 @@ doc-scrape-examples = true
name = "Extra asset source"
description = "Load an asset from a non-standard asset source"
category = "Assets"
wasm = true
# Uses non-standard asset path
wasm = false

[[example]]
name = "hot_asset_reloading"
Expand Down

0 comments on commit 1cca4f2

Please sign in to comment.