2018-02-03 12:51:06 +03:00
|
|
|
[workspace]
|
2019-10-17 23:01:53 +03:00
|
|
|
members = [ "crates/*", "xtask/" ]
|
2018-08-16 00:23:22 +03:00
|
|
|
|
2019-10-11 11:06:28 +03:00
|
|
|
[profile.dev]
|
2020-08-18 17:44:51 +02:00
|
|
|
# Disabling debug info speeds up builds a bunch,
|
2019-11-11 10:11:46 +03:00
|
|
|
# and we don't rely on it for debugging that much.
|
|
|
|
debug = 0
|
2019-10-11 11:06:28 +03:00
|
|
|
|
2020-08-18 17:44:51 +02:00
|
|
|
[profile.dev.package]
|
|
|
|
# These speed up local tests.
|
|
|
|
rowan.opt-level = 3
|
|
|
|
rustc-hash.opt-level = 3
|
|
|
|
smol_str.opt-level = 3
|
|
|
|
text-size.opt-level = 3
|
|
|
|
# This speeds up `cargo xtask dist`.
|
|
|
|
miniz_oxide.opt-level = 3
|
|
|
|
|
2018-08-16 00:23:22 +03:00
|
|
|
[profile.release]
|
2018-12-20 11:53:29 +03:00
|
|
|
incremental = true
|
2020-08-18 17:44:51 +02:00
|
|
|
debug = 0 # Set this to 1 or 2 to get more useful backtraces in debugger.
|
2020-01-31 21:49:44 +02:00
|
|
|
|
2020-08-18 17:44:51 +02:00
|
|
|
# Ideally, we would use `build-override` here, but some crates are also
|
|
|
|
# needed at run-time and we end up compiling them twice.
|
|
|
|
[profile.release.package]
|
|
|
|
chalk-derive.opt-level = 0
|
|
|
|
proc-macro2.opt-level = 0
|
|
|
|
quote.opt-level = 0
|
|
|
|
salsa-macros.opt-level = 0
|
|
|
|
serde_derive.opt-level = 0
|
|
|
|
syn.opt-level = 0
|
|
|
|
tracing-attributes.opt-level = 0
|
|
|
|
xtask.opt-level = 0
|
2020-06-21 15:58:34 +03:00
|
|
|
|
2018-12-30 11:09:17 +03:00
|
|
|
[patch.'crates-io']
|
2020-01-11 22:15:27 +01:00
|
|
|
# rowan = { path = "../rowan" }
|
2020-02-15 18:00:14 +01:00
|
|
|
|
|
|
|
[patch.'https://github.com/rust-lang/chalk.git']
|
|
|
|
# chalk-solve = { path = "../chalk/chalk-solve" }
|
|
|
|
# chalk-rust-ir = { path = "../chalk/chalk-rust-ir" }
|
|
|
|
# chalk-ir = { path = "../chalk/chalk-ir" }
|