Skip to main content

Crate weaveffi_core

Crate weaveffi_core 

Source
Expand description

Core logic: Generator trait, codegen orchestration, validation, and shared utilities.

Modules§

abi
The canonical WeaveFFI C ABI model.
backend
The language-backend framework.
cabi
Shared rendering of the C ABI declarations from a BindingModel.
cache
Content-hashing and per-generator caching for skip-if-unchanged builds.
codegen
Generator trait, dyn-erasure wrapper, and orchestration.
errors
Shared error-domain model and naming policy.
model
The binding model: a normalized, fully-lowered view of an Api that every language backend consumes.
pkg
Shared package-identity resolution.
utils
validate

Macros§

impl_generator_via_backend
Implement the object-safe Generator trait for a type that implements LanguageBackend, delegating to the shared driver.