Sunbeam Studios

Our open-source projects, here for you!

cc (1.2.57)

Published 2026-03-26 10:56:15 +00:00 by siennathesane

Installation

[registry]
default = "gitea"

[registries.gitea]
index = "sparse+" # Sparse index
# index = "" # Git

[net]
git-fetch-with-cli = true
cargo add cc@1.2.57

About this package

A build-time dependency for Cargo build scripts to assist in invoking the native C compiler to compile native C code into a static archive to be linked into Rust code.

cc-rs

A library for Cargo build scripts to compile a set of C/C++/assembly/CUDA files into a static archive for Cargo to link into the crate being built. This crate does not compile code itself; it calls out to the default compiler for the platform. This crate will automatically detect situations such as cross compilation and various environment variables and will build code appropriately.

Refer to the documentation for detailed usage instructions.

License

This project is licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in cc-rs by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

ID Version
find-msvc-tools ^0.1.9
jobserver ^0.1.30
shlex ^1.3.0
tempfile ^3
libc ^0.2.62

Keywords

build-dependencies
Details
Cargo
2026-03-26 10:56:15 +00:00
0
Alex Crichton <alex@alexcrichton.com>
MIT OR Apache-2.0
94 KiB
Assets (1)
Versions (1) View all
1.2.57 2026-03-26