8000 GitHub - distractdiverge/rust-wasm: An experiment with rust and web assembly
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

distractdiverge/rust-wasm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rust - Web Assembly

An example project to make a rust package and port it to webassembly, then consume the package in a next.js app.

Getting Started

Rust

Currently, you'll need to install rust nightly to get the latest wasm-pack tool

Set the default as the nightly build.

rustup default nightly

Get the wasm toolchain

rustup target add wasm32-unknown-unknown --toolchain nightly

Install wasm-pack

cargo install wasm-pack

Compile to a wasm file for consumption in the nextjs app

wasm-pack init

About

An experiment with rust and web assembly

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0