2018-02-03 09:51:06 +00:00
|
|
|
[workspace]
|
2019-10-17 20:01:53 +00:00
|
|
|
members = [ "crates/*", "xtask/" ]
|
2018-08-15 21:23:22 +00:00
|
|
|
|
2019-10-11 08:06:28 +00:00
|
|
|
[profile.dev]
|
2019-11-11 07:11:46 +00:00
|
|
|
# disabling debug info speeds up builds a bunch,
|
|
|
|
# and we don't rely on it for debugging that much.
|
|
|
|
debug = 0
|
2019-10-11 08:06:28 +00:00
|
|
|
|
2018-08-15 21:23:22 +00:00
|
|
|
[profile.release]
|
2018-12-20 08:53:29 +00:00
|
|
|
incremental = true
|
2019-11-15 18:18:44 +00:00
|
|
|
debug = 0 # set this to 1 or 2 to get more useful backtraces in debugger
|
2018-12-30 08:09:17 +00:00
|
|
|
|
2020-01-31 19:49:44 +00: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.proc-macro2]
|
|
|
|
opt-level = 0
|
|
|
|
[profile.release.package.quote]
|
|
|
|
opt-level = 0
|
|
|
|
[profile.release.package.syn]
|
|
|
|
opt-level = 0
|
|
|
|
[profile.release.package.serde_derive]
|
|
|
|
opt-level = 0
|
|
|
|
[profile.release.package.chalk-derive]
|
|
|
|
opt-level = 0
|
|
|
|
[profile.release.package.salsa-macros]
|
|
|
|
opt-level = 0
|
2020-07-01 17:51:09 +00:00
|
|
|
[profile.release.package.tracing-attributes]
|
|
|
|
opt-level = 0
|
2020-01-31 19:49:44 +00:00
|
|
|
[profile.release.package.xtask]
|
|
|
|
opt-level = 0
|
|
|
|
|
2020-06-21 12:58:34 +00:00
|
|
|
# Gzipping the artifacts is up to 10 times faster with optimizations (`cargo xtask dist`).
|
|
|
|
# `miniz_oxide` is the direct dependency of `flate2` which does all the heavy lifting
|
|
|
|
[profile.dev.package.miniz_oxide]
|
|
|
|
opt-level = 3
|
|
|
|
|
2018-12-30 08:09:17 +00:00
|
|
|
[patch.'crates-io']
|
2020-01-11 21:15:27 +00:00
|
|
|
# rowan = { path = "../rowan" }
|
2020-02-15 17:00:14 +00: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" }
|