]> git.lizzy.rs Git - rust.git/blob - Cargo.toml
Merge #8963
[rust.git] / Cargo.toml
1 [workspace]
2 resolver = "2"
3 members = ["xtask/", "lib/*", "crates/*"]
4
5 [profile.dev]
6 # We do want incremental builds, but they are broken at the moment :(
7 # https://github.com/rust-lang/rust/issues/85003#issuecomment-833796289
8 incremental = false
9
10 # Disabling debug info speeds up builds a bunch,
11 # and we don't rely on it for debugging that much.
12 debug = 0
13
14 [profile.dev.package]
15 # These speed up local tests.
16 rowan.opt-level = 3
17 rustc-hash.opt-level = 3
18 smol_str.opt-level = 3
19 text-size.opt-level = 3
20 # This speeds up `cargo xtask dist`.
21 miniz_oxide.opt-level = 3
22
23 [profile.release]
24 # We do want incremental release builds, but they are broken at the moment :(
25 # https://github.com/rust-lang/rust/issues/85003#issuecomment-833796289
26 incremental = false
27 debug = 0 # Set this to 1 or 2 to get more useful backtraces in debugger.
28
29 [profile.test]
30 incremental = false
31
32 [patch.'crates-io']
33 # rowan = { path = "../rowan" }
34
35 # chalk-solve = { path = "../chalk/chalk-solve" }
36 # chalk-ir = { path = "../chalk/chalk-ir" }
37 # chalk-recursive = { path = "../chalk/chalk-recursive" }
38
39 # ungrammar = { path = "../ungrammar" }
40
41 # salsa = { path = "../salsa" }