Skip to content

Commit

Permalink
Change nightly version. (#144)
Browse files Browse the repository at this point in the history
* Change nightly version.

The previous nightly version specified (nightly-2019-03-05) had an issue
where components where not supported on Windows. 2018 versions had an
issue with some wasm memory functions not being finalised
(see rust-lang/rust#56292). This could all be
wrong but I found this version worked for me where others didn't.

* Add batch equivalent to build.sh
  • Loading branch information
JakeOShannessy authored and Latrasis committed May 23, 2019
1 parent ec9e548 commit 9b6fe41
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions kernel-ewasm/build.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@

cargo build --release --target wasm32-unknown-unknown
wasm-build --target=wasm32-unknown-unknown .\target kernel-ewasm

mkdir .\build
copy .\target\*.wasm .\build
copy .\target\json\* .\build
2 changes: 1 addition & 1 deletion kernel-ewasm/rust-toolchain
Original file line number Diff line number Diff line change
@@ -1 +1 @@
nightly-2019-03-05
nightly-2019-01-01

0 comments on commit 9b6fe41

Please sign in to comment.