Skip to main content
Run any Skill in Manus
with one click

rust-bun

Stars1
Forks0
UpdatedJune 16, 2026 at 05:39

The reference and decision guide for connecting Rust and Bun in ANY project: every integration path (bun:ffi cdylib, N-API via napi-rs, Bun.spawn subprocess, WebAssembly, stdio IPC), how to choose between them, the complete cross-boundary type-marshalling rules, and how Bun itself bridges Rust↔JS internally (the canonical reference patterns from the official oven-sh/bun repo: the FFI JIT trampoline, bun_jsc/host_fn, the .classes.ts codegen, bun_sys/bun_core). Use this skill whenever the user asks "how do Rust and Bun fit together", "what's the best way to call Rust from Bun", "should I use FFI or N-API", needs the Rust↔JS type mapping, is architecting a native module for Bun, or wants to understand how Bun's own Rust internals talk to JavaScript — even if they don't name a specific mechanism.

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

File Explorer
6 files
SKILL.md
readonly