Skip to content

Commit f4eb180

Browse files
committed
Try to break out of cyclic dependency
1 parent 9f38e93 commit f4eb180

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

library/Cargo.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ version = "0.1.160"
6363
dependencies = [
6464
"cc",
6565
"panic-handler",
66-
"rustc-std-workspace-core",
6766
]
6867

6968
[[package]]
@@ -314,6 +313,7 @@ dependencies = [
314313
name = "rustc-std-workspace-core"
315314
version = "1.99.0"
316315
dependencies = [
316+
"compiler_builtins 0.1.160",
317317
"core",
318318
]
319319

library/compiler-builtins/compiler-builtins/Cargo.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ test = false
1919
[dependencies]
2020
# For more information on this dependency see
2121
# https://github.com/rust-lang/rust/tree/master/library/rustc-std-workspace-core
22-
core = { version = "1.0.0", optional = true, package = "rustc-std-workspace-core" }
22+
# core = { version = "1.0.0", optional = true, package = "rustc-std-workspace-core" }
2323

2424
[build-dependencies]
2525
cc = { optional = true, version = "1.0" }
@@ -53,7 +53,8 @@ mem = []
5353
mangled-names = []
5454

5555
# Only used in the compiler's build system
56-
rustc-dep-of-std = ["compiler-builtins", "dep:core"]
56+
# rustc-dep-of-std = ["compiler-builtins", "dep:core"]
57+
rustc-dep-of-std = ["compiler-builtins"]
5758

5859
# This makes certain traits and function specializations public that
5960
# are not normally public but are required by the `builtins-test`

library/rustc-std-workspace-core/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ path = "lib.rs"
1212

1313
[dependencies]
1414
core = { path = "../core" }
15-
compiler_builtins = { path = "../compiler-builtins/compiler-builtins" }
15+
compiler_builtins = { path = "../compiler-builtins/compiler-builtins", features = ["compiler-builtins"] }

0 commit comments

Comments
 (0)