← 返回卡片

原书出处

Rust编程之道

13 超越安全的边界 13.4 Rust与WebAssembly

第1版 · 核验版本的摘录快照 · 导入于 2026-11-24T13:43:56.955Z

发wasm,并且不需要改变现有开发流程。

wasm-bindgen 致力于为 JavaScript 生态和 Rust crate 生态系统建立共享的基础。wasm-bindgen 通过内置的 js-sys 包提供了对所有全局 JavaScript API 的绑定,只需要通过wasm_bindgen::js

即可调用。同样,通过内置的web-sys

此预览只包含定位所需的摘录和上下文。

原书定位详情

来源:a19c7933-4eda-4176-aebd-30fe7e1ad292

正文位置:extracted/Rust编程之道/_epub-src/text/part0019_split_004.html

EPUB SHA-256:585074c6844ba06a529a7623f659130564e9907ec38a9d661f661974f9787ac8