Skip to main content

Crate cu29_build

Crate cu29_build 

Source
Expand description

§cu29-build

Shared build-script setup for Copper crates and applications.

Call cu29_build::setup() once from build.rs. It configures Copper’s logging macros and forwards the crate’s active Cargo features to Copper code generation.

Constants§

COPPER_CFG_FEATURES_ENV
Environment variable used to pass the consuming crate’s Cargo features to Copper’s procedural macros and generated runtime.

Functions§

setup
Emit the standard Cargo build-script configuration required by Copper.