rust-system-calls
A short contributor guide in the Bun repository telling agents to use Bun's own bun_sys crate, not the Rust standard library or raw libc, for system calls and file input and output in Bun's Rust code.
スキルの内容
A short contributor guide in the Bun repository telling agents to use Bun's own bun_sys crate, not the Rust standard library or raw libc, for system calls and file input and output in Bun's Rust code. It explains the File wrapper that closes its descriptor when dropped, compares bun_sys with the alternatives on Windows support, error detail and automatic retries, and shows how to propagate errors or turn them into JavaScript exceptions and how to ignore a specific error such as a missing file. It lists the key functions and open flags, recommends pooled path buffers over large stack buffers, and warns against unwrapping fallible results or closing a descriptor still owned by a File.
できること
ドキュメントに記載なし
概要
- 公開元
- Oven (Bun)
インストール
プロジェクトのドキュメントに、確認できるインストール手順がありません。 プロジェクトの手順を見る
MCPサーバーやスキルは、お使いのコンピューターでコードを実行したり、データを操作したりできます。インストールする前にソースを確認してください。
詳細
出典
- GitHubリポジトリgithub.com/oven-sh/bun · 根拠となる項目:公開元, 活動状況2026年11月11日
- スキルファイル(SKILL.md)github.com/oven-sh/bun · 根拠となる項目:スクリプトを含む, ライセンス2026年11月10日
- リポジトリ内のフォルダ(rust-system-calls)github.com/oven-sh/bun · 根拠となる項目:スクリプトを含む2026年11月10日