142 stable releases
new 1.1.36 | Nov 5, 2024 |
---|---|
1.1.31 | Oct 19, 2024 |
1.1.7 | Jul 29, 2024 |
1.0.90 | Mar 6, 2024 |
0.0.1 | Dec 16, 2014 |
#1 in Build Utils
14,831,488 downloads per month
Used in 39,296 crates
(2,235 directly)
395KB
9K
SLoC
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
- Apache License, Version 2.0, (LICENSE-APACHE or https://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or https://opensource.org/licenses/MIT)
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.