about summary refs log tree commit diff
path: root/library/std
diff options
context:
space:
mode:
authorZalathar <Zalathar@users.noreply.github.com>2024-10-17 16:54:22 +1100
committerZalathar <Zalathar@users.noreply.github.com>2024-10-17 22:08:36 +1100
commitbae25968dd802596093212766f4fbd34d33ce416 (patch)
treef11005af1c7f42862272bf7f4d201664167ecd2f /library/std
parent7342830c05ec0996e9e4b7df550b1043dca7829c (diff)
downloadrust-bae25968dd802596093212766f4fbd34d33ce416.tar.gz
rust-bae25968dd802596093212766f4fbd34d33ce416.zip
Make `profiler_builtins` an optional dependency of sysroot, not std
This avoids unnecessary rebuilds of std (and the compiler) when
`build.profiler` is toggled off or on.
Diffstat (limited to 'library/std')
-rw-r--r--library/std/Cargo.toml2
1 files changed, 0 insertions, 2 deletions
diff --git a/library/std/Cargo.toml b/library/std/Cargo.toml
index 358bd25ff1b..3e8987c3531 100644
--- a/library/std/Cargo.toml
+++ b/library/std/Cargo.toml
@@ -18,7 +18,6 @@ panic_unwind = { path = "../panic_unwind", optional = true }
 panic_abort = { path = "../panic_abort" }
 core = { path = "../core", public = true }
 compiler_builtins = { version = "0.1.133" }
-profiler_builtins = { path = "../profiler_builtins", optional = true }
 unwind = { path = "../unwind" }
 hashbrown = { version = "0.15", default-features = false, features = [
     'rustc-dep-of-std',
@@ -98,7 +97,6 @@ backtrace = [
 ]
 
 panic-unwind = ["panic_unwind"]
-profiler = ["profiler_builtins"]
 compiler-builtins-c = ["alloc/compiler-builtins-c"]
 compiler-builtins-mem = ["alloc/compiler-builtins-mem"]
 compiler-builtins-no-asm = ["alloc/compiler-builtins-no-asm"]