Skip to content

planet0104/miniprogram-rust-wasm

Repository files navigation

miniprogram-rust-wasm

Rust+Webassembly开发微信小程序

在iPhone7 和 小米8 Android 8.1.0成功运行

启动代码在miniprogram/app.js中

hello.js和hello.wasm 是 https://github.com/koute/stdweb/tree/master/examples/minimal编译得到的

demo.js和demo.wasm 是 https://github.com/koute/stdweb/tree/master/examples/hasher编译得到的

编译: cargo web build --target=wasm32-unknown-unknown --release

hello.js和demo.js在代码中经过改动适配微信小程序

stdweb的安装教程在这里https://crates.io/crates/stdweb

运行截图:

About

Rust+Webassembly开发微信小程序

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published