You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Make maybe_memory optional in TS
As the name implies, it's already optional, but wasn't marked as such in TS.
We could put some more complicated / stricter types here depending on type of the first argument, but at least this fixes the issue for TS consumers.
Fixes#2133
* Add rust-toolchain to raytrace example
It should always be built with nightly, and this file sets the toolchain for Rustup.
* Rework init_memory
- Unify `init_memory` for `maybe_memory` case to use either the explicitly given value or the default (`new WebAssembly.Memory(...)`).
- Move it to the main `init` function where all other `imports` are assigned too.
- Remove global `memory` variable which doesn't seem to be used by anything.
* Format
* Update cargo fmt & reformat again
* Use explicit nightly version for Raytracer on CI
* Delete rust-toolchain
* Update azure-pipelines.yml
0 commit comments