]> git.lizzy.rs Git - rust.git/blob - Cargo.toml
rustc_codegen_gcc: proper check for may_unwind
[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 [dependencies.object]
27 version = "0.25.0"
28 default-features = false
29 features = ["read", "std", "write"] # We don't need WASM support.
30
31 [dev-dependencies]
32 lang_tester = "0.3.9"
33 tempfile = "3.1.0"
34
35 [profile.dev]
36 # By compiling dependencies with optimizations, performing tests gets much faster.
37 opt-level = 3
38
39 [profile.dev.package.rustc_codegen_gcc]
40 # Disabling optimizations for cg_gccjit itself makes compilation after a change faster.
41 opt-level = 0
42
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]
46 opt-level = 0
47 debug = false
48
49 [profile.release.build-override]
50 opt-level = 0
51 debug = false