Skip to content
Commit Detail

Commit 2a282a7

Author
Harris Hancock <harris@cloudflare.com> 2026-04-01 11:05:34 +0100
Parents
75386fb
Tree
8b6b34c
Document async FFI and error handling patterns in Rust AGENTS.md

Add guidance on how to declare async functions in extern "Rust"
CXX bridge blocks (explicit lifetime + unsafe required), and how
to handle errors across the FFI boundary (thiserror, std::io::Error,
or cxx::KjError).

Assisted-by: Claude

Files changed

1 file changed~1 modified