oasislabs / game-box

A Truffle box for a barebones Oasis Game
4 stars 3 forks source link

Latest wasm-bindgen-cli pull breaks build #6

Closed clementfung closed 5 years ago

clementfung commented 5 years ago

Following the standard workflow, attempting to build the default tic-tac-toe game (./scripts/build-crates.sh) immediately results in a failed build with the message:

it looks like the Rust project used to create this wasm file was linked against a different version of wasm-bindgen than this binary: rust wasm file: 0.2.33 this binary: 0.2.36 Currently the bindgen format is unstable enough that these two version must exactly match, so it's required that these two version are kept in sync by either updating the wasm-bindgen dependency or this binary.`

However, updating the wasm-bindgen as suggested cargo update -p wasm-bindgen results in a badly failing build (100s of build errors).

As per a discussion with @andrewosh, what we need is a way to fix versioning, and stop depending on unstable dependencies (notably wasm-bindgen, oasis, and nightly rust).

andrewosh commented 5 years ago

Closed #7