]> git.lizzy.rs Git - rust.git/blob - Cargo.toml
Merge #4641
[rust.git] / Cargo.toml
1 [workspace]
2 members = [ "crates/*", "xtask/" ]
3
4 [profile.dev]
5 # disabling debug info speeds up builds a bunch,
6 # and we don't rely on it for debugging that much.
7 debug = 0
8
9 [profile.release]
10 incremental = true
11 debug = 0 # set this to 1 or 2 to get more useful backtraces in debugger
12
13 # ideally, we would use `build-override` here, but some crates are also
14 # needed at run-time and we end up compiling them twice
15 [profile.release.package.proc-macro2]
16 opt-level = 0
17 [profile.release.package.quote]
18 opt-level = 0
19 [profile.release.package.syn]
20 opt-level = 0
21 [profile.release.package.serde_derive]
22 opt-level = 0
23 [profile.release.package.chalk-derive]
24 opt-level = 0
25 [profile.release.package.salsa-macros]
26 opt-level = 0
27 [profile.release.package.xtask]
28 opt-level = 0
29
30 [patch.'crates-io']
31 # rowan = { path = "../rowan" }
32
33 [patch.'https://github.com/rust-lang/chalk.git']
34 # chalk-solve = { path = "../chalk/chalk-solve" }
35 # chalk-rust-ir = { path = "../chalk/chalk-rust-ir" }
36 # chalk-ir = { path = "../chalk/chalk-ir" }