]> git.lizzy.rs Git - rust.git/blobdiff - Cargo.toml
attempt to overwrite globally set build.rustc-wrapper
[rust.git] / Cargo.toml
index f612e7a3e9e50d58df1baef9ffc4c86cebc52b4f..208b3a764436f67104c8e0e364213e311dfc2b58 100644 (file)
@@ -39,7 +39,8 @@ libc = "0.2"
 [dev-dependencies]
 colored = "2"
 ui_test = { path = "ui_test" }
-regex = "1.5.5"
+# Features chosen to match those required by env_logger, to avoid rebuilds
+regex = { version = "1.5.5", default-features = false, features = ["perf", "std"] }
 lazy_static = "1.4.0"
 
 [package.metadata.rust-analyzer]
@@ -53,6 +54,8 @@ harness = false
 
 [features]
 default = ["stack-cache"]
-# Will be enabled on CI via `--all-features`.
-expensive-debug-assertions = []
 stack-cache = []
+
+# Be aware that this file is inside a workspace when used via the
+# submodule in the rustc repo. That means there are many cargo features
+# we cannot use, such as profiles.