Debian Codegraph @

debian/rust-vendor/cc/README.md

raw
1 # cc-rs
2
3 A library for
4 [Cargo build scripts](https://doc.rust-lang.org/cargo/reference/build-scripts.html)
5 to compile a set of C/C++/assembly/CUDA files into a static archive for Cargo to
6 link into the crate being built. This crate does not compile code itself; it
7 calls out to the default compiler for the platform. This crate will
8 automatically detect situations such as cross compilation and various
9 environment variables and will build code appropriately.
10
11 Refer to the [documentation](https://docs.rs/cc) for detailed usage
12 instructions.
13
14 ## License
15
16 This project is licensed under either of
17
18 * Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or
19 https://www.apache.org/licenses/LICENSE-2.0)
20 * MIT license ([LICENSE-MIT](LICENSE-MIT) or
21 https://opensource.org/license/mit)
22
23 at your option.
24
25 ### Contribution
26
27 Unless you explicitly state otherwise, any contribution intentionally submitted
28 for inclusion in cc-rs by you, as defined in the Apache-2.0 license, shall be
29 dual licensed as above, without any additional terms or conditions.