Skip to content

eliorivero/rust-webassembly-deno

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build WebAssembly from Rust and run it on Deno

This is a project companion to the blog post How to write WebAssembly in Rust and use it in Deno

Install

Install the tool to compile Rust into WebAssembly with:

curl https://raw.githubusercontent.com/second-state/ssvmup/master/installer/init.sh -sSf | sh

Build

Build the Rust library into WASM with:

ssvmup build --target deno

Run in Deno

To run in Deno, use:

deno run --allow-read mod.ts

Made by StartFunction

About

Learn how to compile a Rust library in WebAssembly and run it in Deno.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published