Registry / build-tool / cpp-build

cpp-build

JSON →
library0.5.11rscratesunverified

Cargo build script for the `cpp` crate to compile C++ code.

# Cargo.toml [dependencies] cpp_build = "0.5.11"
INSTALL
IMPORT
SIG · CPP-BUILD
C
cpp-build
build-toolrustv0.5.11
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.

build
use cpp_build::build;

Runs the C++ build script for the `cpp` crate.

fn main() { cpp_build::build("src/lib.rs"); println!("C++ build script executed"); }
Debug
Known issues
gotchaRequires a C++ compiler installed on the system.
fix
Install gcc/clang or MSVC and ensure they are in PATH.
affects: >= 0.0.0
Upgrade
Version history
0.5.11latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
17 hits · last 30 days
node
14
OpenAI (training)
1
Resources
cpp-build — cargo add cpp-build · libregistry