]> git.lizzy.rs Git - rust.git/blob - compiler/rustc_codegen_gcc/Cargo.toml
Rollup merge of #102214 - cassaundra:fix-format-args-span, r=cjgillot
[rust.git] / compiler / rustc_codegen_gcc / Cargo.toml
1 [package]
2 name = "rustc_codegen_gcc"
3 version = "0.1.0"
4 authors = ["Antoni Boucher <bouanto@zoho.com>"]
5 edition = "2018"
6 license = "MIT OR Apache-2.0"
7
8 [lib]
9 crate-type = ["dylib"]
10
11 [[test]]
12 name = "lang_tests_debug"
13 path = "tests/lang_tests_debug.rs"
14 harness = false
15 [[test]]
16 name = "lang_tests_release"
17 path = "tests/lang_tests_release.rs"
18 harness = false
19
20 [features]
21 default = ["master"]
22 master = ["gccjit/master"]
23
24 [dependencies]
25 gccjit = { git = "https://github.com/antoyo/gccjit.rs" }
26
27 # Local copy.
28 #gccjit = { path = "../gccjit.rs" }
29
30 target-lexicon = "0.10.0"
31
32 ar = "0.8.0"
33
34 [dev-dependencies]
35 lang_tester = "0.3.9"
36 tempfile = "3.1.0"
37
38 [profile.dev]
39 # By compiling dependencies with optimizations, performing tests gets much faster.
40 opt-level = 3
41
42 [profile.dev.package.rustc_codegen_gcc]
43 # Disabling optimizations for cg_gccjit itself makes compilation after a change faster.
44 opt-level = 0
45
46 # Disable optimizations and debuginfo of build scripts and some of the heavy build deps, as the
47 # execution time of build scripts is so fast that optimizing them slows down the total build time.
48 [profile.dev.build-override]
49 opt-level = 0
50 debug = false
51
52 [profile.release.build-override]
53 opt-level = 0
54 debug = false