Skip to content

janhohenheim/asset-crash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Embedded Asset Crash on Windows Wasm Builds

Run the following:

cargo build --target wasm32-unknown-unknown --no-default-features
wasm-bindgen --out-name asset_crash --out-dir wasm/ --target web .\target\wasm32-unknown-unknown\debug\asset-crash.wasm
cd wasm/
http-server

Go to http://127.0.0.1:7878/index.html and open the console. You will see the following on Windows only:

Failed to find src_prefix "src" in "src\\screen\\splash\\mod.rs"

Note that this panic does not occur on Linux.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published