rust/Cargo.toml

39 lines
1.0 KiB
TOML
Raw Normal View History

2018-02-03 03:51:06 -06:00
[workspace]
2019-10-17 15:01:53 -05:00
members = [ "crates/*", "xtask/" ]
2018-08-15 16:23:22 -05:00
2019-10-11 03:06:28 -05:00
[profile.dev]
# disabling debug info speeds up builds a bunch,
# and we don't rely on it for debugging that much.
debug = 0
2019-10-11 03:06:28 -05:00
2018-08-15 16:23:22 -05:00
[profile.release]
2018-12-20 02:53:29 -06:00
incremental = true
2019-11-15 12:18:44 -06:00
debug = 0 # set this to 1 or 2 to get more useful backtraces in debugger
2018-12-30 02:09:17 -06: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
[profile.release.package.tracing-attributes]
opt-level = 0
[profile.release.package.xtask]
opt-level = 0
2018-12-30 02:09:17 -06:00
[patch.'crates-io']
2020-01-11 15:15:27 -06:00
# rowan = { path = "../rowan" }
[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" }