about summary refs log tree commit diff
path: root/library/Cargo.lock
diff options
context:
space:
mode:
authorTrevor Gross <tmgross@umich.edu>2025-07-30 09:03:21 -0500
committerTrevor Gross <tmgross@umich.edu>2025-07-31 22:47:24 +0000
commitdaf353461be9c1ea0c9b70023016b150a08baaf2 (patch)
tree381978478f052006a6195cc569e89c28e0ceb271 /library/Cargo.lock
parent8d0b92acbff06a46519e012c6a171d0554e0d8ef (diff)
downloadrust-daf353461be9c1ea0c9b70023016b150a08baaf2.tar.gz
rust-daf353461be9c1ea0c9b70023016b150a08baaf2.zip
Use `core` via `rustc-std-workspace-core` in `library/panic*`
The three panic-related library crates need to have access to `core`,
and `compiler-builtins` needs to be in the crate graph. Rather than
specifying both dependencies, switch these crates to use
`rustc-std-workspace-core` which already does this.

This means there is now a single place that the `compiler-builtins`
dependency needs to get configured, for everything other than `alloc`
and `std`.
Diffstat (limited to 'library/Cargo.lock')
-rw-r--r--library/Cargo.lock9
1 files changed, 3 insertions, 6 deletions
diff --git a/library/Cargo.lock b/library/Cargo.lock
index a9a611fe1ed..9eca0e9b050 100644
--- a/library/Cargo.lock
+++ b/library/Cargo.lock
@@ -183,9 +183,8 @@ name = "panic_abort"
 version = "0.0.0"
 dependencies = [
  "alloc",
- "compiler_builtins",
- "core",
  "libc",
+ "rustc-std-workspace-core",
 ]
 
 [[package]]
@@ -194,9 +193,8 @@ version = "0.0.0"
 dependencies = [
  "alloc",
  "cfg-if",
- "compiler_builtins",
- "core",
  "libc",
+ "rustc-std-workspace-core",
  "unwind",
 ]
 
@@ -380,9 +378,8 @@ name = "unwind"
 version = "0.0.0"
 dependencies = [
  "cfg-if",
- "compiler_builtins",
- "core",
  "libc",
+ "rustc-std-workspace-core",
  "unwinding",
 ]