X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=Cargo.toml;h=5278b5a1676c912d2c3064abd58bdbc239f8c833;hb=d103d4b071833adbcf691f58125aa8aa104fba1f;hp=317c63795825692ffcbc22bf590d87ccf18e2e1a;hpb=798dc2ca8024c68b02c8e878603c0a4b00dc44e5;p=rust.git diff --git a/Cargo.toml b/Cargo.toml index 317c6379582..5278b5a1676 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,8 +1,36 @@ [workspace] -members = [ "crates/*", "website/website-gen" ] +members = [ "crates/*", "xtask/" ] + +[profile.dev] +# disabling debug info speeds up builds a bunch, +# and we don't rely on it for debugging that much. +debug = 0 [profile.release] incremental = true -debug = 1 # only line info +debug = 0 # set this to 1 or 2 to get more useful backtraces in debugger + +# 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.xtask] +opt-level = 0 [patch.'crates-io'] +# 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" }