| Crates.io | elvwasm |
| lib.rs | elvwasm |
| version | 1.0.0 |
| created_at | 2023-04-05 16:21:49.723877+00 |
| updated_at | 2023-04-05 16:21:49.723877+00 |
| description | Contains and collects the bitcode extension API for the Eluvio content fabric |
| homepage | https://eluvio.co/ |
| repository | https://github.com/eluv-io/elv-wasm |
| max_upload_size | |
| id | 831218 |
| size | 94,355 |
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash
export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
nvm install 14.7.0
npm i assemblyscript
curl https://sh.rustup.rs -sSf | sh -s -- -y
source $HOME/.cargo/env
rustup toolchain install nightly
rustup update
rustup target add wasm32-unknown-unknown --toolchain nightly
rustup default nightly
For Linux
wget https://github.com/tinygo-org/tinygo/releases/download/v0.27.0/tinygo_0.27.0_amd64.deb
sudo dpkg -i tinygo_0.27.0_amd64.deb
Alternately, for macos, run
brew tap tingo-org/tools
brew install tinygo
If you do not use nightly rust by default, you can add +nightly between cargo and build in order to use nightly rust to build this. Otherwise, the below command suffices.
cargo build --target wasm32-unknown-unknown --release --workspace