thetawavegame / thetawave

A physics based, space shooter game made with Rust and the Bevy engine.
https://thetawave.metalmancy.tech
MIT License
164 stars 9 forks source link

Conditionally compile the wasm console error panic hook #111

Closed varoonp123 closed 1 year ago

varoonp123 commented 1 year ago

to slightly trim down the shipped native binaries.

not quite an atomic PR but atleast there are 2 atomic commits. turns out we need to apt update to fix CI.

This console error panic hook also brings in things like wasm_bindgen.

cargo build --features storage --features cli shows 457 deps

and cargo tree --features storage --features cli | wc -l shows 1188 on this branch vs 470 and 1207 on main, respectively.