]> git.lizzy.rs Git - rust.git/blob - Cargo.toml
Finish bumping stage0
[rust.git] / 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"
13 path = "tests/lib.rs"
14 harness = false
15
16 [dependencies]
17 gccjit = { git = "https://github.com/antoyo/gccjit.rs" }
18
19 # Local copy.
20 #gccjit = { path = "../gccjit.rs" }
21
22 target-lexicon = "0.10.0"
23
24 ar = "0.8.0"
25
26 [dev-dependencies]
27 lang_tester = "0.3.9"
28 tempfile = "3.1.0"
29
30 [profile.dev]
31 # By compiling dependencies with optimizations, performing tests gets much faster.
32 opt-level = 3
33
34 [profile.dev.package.rustc_codegen_gcc]
35 # Disabling optimizations for cg_gccjit itself makes compilation after a change faster.
36 opt-level = 0
37
38 # Disable optimizations and debuginfo of build scripts and some of the heavy build deps, as the
39 # execution time of build scripts is so fast that optimizing them slows down the total build time.
40 [profile.dev.build-override]
41 opt-level = 0
42 debug = false
43
44 [profile.release.build-override]
45 opt-level = 0
46 debug = false