Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Guides

Practical guides for working with WeaveFFI bindings across targets.

  • Memory Ownership — allocation rules; freeing strings, bytes, structs, and errors across the FFI boundary.
  • Error Handling — the uniform error model and how each target surfaces failures.
  • Async Functions — IDL declaration, the C ABI callback contract, and per-target async surfaces.
  • Annotated Rust Extraction — extract an IDL from annotated Rust source instead of writing YAML by hand.
  • Generator Configuration — customise per-target names and the C ABI prefix via weaveffi.toml or inline generators: blocks.