]> git.lizzy.rs Git - rust.git/blobdiff - Cargo.toml
# This is a combination of 3 commits.
[rust.git] / Cargo.toml
index c5155e89960b763dc64f4e8b824a75df180716a1..4d6908fa93e9973da7aee0eaa0b9d03d1207a5ec 100644 (file)
@@ -1,8 +1,33 @@
 [workspace]
-members = [ "crates/*" ]
+resolver = "2"
+members = ["xtask/", "lib/*", "crates/*"]
+exclude = ["crates/proc_macro_test/imp"]
+
+[profile.dev]
+# Disabling debug info speeds up builds a bunch,
+# and we don't rely on it for debugging that much.
+debug = 0
+
+[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
 
 [profile.release]
 incremental = true
-debug = true
+debug = 0 # Set this to 1 or 2 to get more useful backtraces in debugger.
 
 [patch.'crates-io']
+# rowan = { path = "../rowan" }
+
+# chalk-solve = { path = "../chalk/chalk-solve" }
+# chalk-ir = { path = "../chalk/chalk-ir" }
+# chalk-recursive = { path = "../chalk/chalk-recursive" }
+
+# ungrammar = { path = "../ungrammar" }
+
+# salsa = { path = "../salsa" }