about summary refs log tree commit diff
path: root/library/std/Cargo.toml
diff options
context:
space:
mode:
authorTrevor Gross <tmgross@umich.edu>2025-06-04 20:56:35 +0000
committerTrevor Gross <tmgross@umich.edu>2025-06-08 02:36:58 +0000
commitcc3e57147e7cf5933a2bfa4b92b5a3a5eb424997 (patch)
tree25df7fbc592962caf49e58d9990aabe4a6fd6326 /library/std/Cargo.toml
parent076ec59ff1dcf538b9d3a0b8e0d7f4edd0559959 (diff)
downloadrust-cc3e57147e7cf5933a2bfa4b92b5a3a5eb424997.tar.gz
rust-cc3e57147e7cf5933a2bfa4b92b5a3a5eb424997.zip
Use the in-tree `compiler-builtins`
Many of `std`'s dependency have a dependency on the crates.io
`compiler-builtins` when used with the feature
`rustc-std-workspace-core`. Use a Cargo patch to select the in-tree
version instead.

`compiler-builtins` is also added as a dependency of
`rustc-std-workspace-core` so these crates can remove their crates.io
dependency in the future.
Diffstat (limited to 'library/std/Cargo.toml')
-rw-r--r--library/std/Cargo.toml2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/Cargo.toml b/library/std/Cargo.toml
index 196b904d56a..8ad81959bfb 100644
--- a/library/std/Cargo.toml
+++ b/library/std/Cargo.toml
@@ -18,7 +18,7 @@ cfg-if = { version = "1.0", features = ['rustc-dep-of-std'] }
 panic_unwind = { path = "../panic_unwind", optional = true }
 panic_abort = { path = "../panic_abort" }
 core = { path = "../core", public = true }
-compiler_builtins = { version = "=0.1.160" }
+compiler_builtins = { path = "../compiler-builtins/compiler-builtins" }
 unwind = { path = "../unwind" }
 hashbrown = { version = "0.15", default-features = false, features = [
     'rustc-dep-of-std',