Registry / build-tool / autocxx-build

autocxx-build

JSON →
library0.30.0rscratesunverified

Build-time support for autocxx, enabling safe autogenerated interop between Rust and C++.

# Cargo.toml [dependencies] autocxx-build = "0.30.0"
INSTALL
IMPORT
SIG · AUTOCXX-BUILD
A
autocxx-build
build-toolrustv0.30.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Builder
use autocxx_build::Builder;

Configures and runs the autocxx build process.

use autocxx_build::Builder; fn main() { let builder = Builder::new("src/lib.rs", &["path/to/cpp"]).unwrap(); builder.build(); }
Debug
Known issues
gotchaRequires C++ compiler and headers; may fail without proper C++ toolchain.
fix
Install a C++ compiler (e.g., g++, clang) and ensure C++ headers are available.
affects: >=0.20.0
Upgrade
Version history
0.30.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
39 hits · last 30 days
node
34
OpenAI (training)
1
Resources
autocxx-build — cargo add autocxx-build · libregistry