Skip to content

liborui/Programming-WebAssembly-With-Rust-Sources

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Programming-WebAssembly-With-Rust-Sources

Source codes of book "Programming WebAssembly With Rust"

Preparation

sudo apt-get install build-essential
sudo apt-get install cmake
git clone --recursive https://github.com/WebAssembly/wabt
cd wabt
mkdir build
cd build
cmake ..
cmake --build .
alias wat2wasm="~/wabt/bin/wat2wasm"

Version

rustc 1.41.0 (5e1a79984 2020-01-27) npm install webpack -g

To Run

Champ.6

cargo run

Attention/Bug

In Ubuntu 18.04, using apt to install npm (Webapp depends on) and libssl-dev (some Rust crates depends on) is conflict to each other, which most probably is the confliction between libssl1.0-dev (npm depends on) and libssl-dev. Installing libssl-dev will automatically remove npm.

About

Source codes of book "Programming WebAssembly With Rust"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published