2 name = "rustc_codegen_gcc"
4 authors = ["Antoni Boucher <bouanto@zoho.com>"]
6 license = "MIT OR Apache-2.0"
17 gccjit = { git = "https://github.com/antoyo/gccjit.rs" }
20 #gccjit = { path = "../gccjit.rs" }
22 target-lexicon = "0.10.0"
28 default-features = false
29 features = ["read", "std", "write"] # We don't need WASM support.
36 # By compiling dependencies with optimizations, performing tests gets much faster.
39 [profile.dev.package.rustc_codegen_gcc]
40 # Disabling optimizations for cg_gccjit itself makes compilation after a change faster.
43 # Disable optimizations and debuginfo of build scripts and some of the heavy build deps, as the
44 # execution time of build scripts is so fast that optimizing them slows down the total build time.
45 [profile.dev.build-override]
49 [profile.release.build-override]