Skip to main content

build

Macro build 

Source
macro_rules! build {
    ($file:expr) => { ... };
}
Expand description

Embed the shared Canic configuration into a canister crate’s build script.

Reads the provided TOML file (relative to the crate manifest dir), validates it using the shared config schema, and emits both a compact source copy and a generated Rust config model for runtime bootstrap. Canister crates typically invoke this from build.rs.