1. 首页
  2. 数据库
  3. 其它
  4. wasm rust linear memory 源码

wasm rust linear memory 源码

上传者: 2021-03-05 21:07:18上传 ZIP文件 3.23KB 热度 22次
wasm-rust-linear-memory 用cargo new --lib wasm-rust-linear-memory创建项目cargo new --lib wasm-rust-linear-memory 修改Cargo.toml以包含: [ lib ] crate-type = [ " cdylib " ] [ dependencies ] wasm-bindgen = " 0.2.70 " 修改src/lib.rs 使用wasm-pack build --target web构建项目 创建index.js 创建index.html 启动本地HTTP文件服务器。 一种方法是安装 ,然后输入以下命令: deno install --allow-net --allow-read https://deno.land/std@0.87.0/http/file_serve
下载地址
用户评论