Skip to content

Commit eb4f847

Browse files
tgross35Taowyoo
authored andcommitted
Remove compiler-builtins from rustc-dep-of-std dependencies
Since [1], this will come automatically from `rustc-std-workspace-core` and the crates.io dependency should no longer be specified. [1]: rust-lang/rust#141993
1 parent bccca2e commit eb4f847

File tree

4 files changed

+5
-11
lines changed

4 files changed

+5
-11
lines changed

Cargo.lock

Lines changed: 2 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

fortanix-vme/fortanix-vme-abi/Cargo.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ authors = ["Fortanix, Inc."]
99
[dependencies]
1010
core = { version = "1.0.0", optional = true, package = "rustc-std-workspace-core" }
1111
alloc = { version = "1.0.0", optional = true, package = "rustc-std-workspace-alloc" }
12-
compiler_builtins = { version = "0.1.152", optional = true }
1312
# Avoid using patch section due to https://github.com/rust-lang/cargo/issues/10031
1413
serde = { git = "https://github.com/fortanix/serde.git", branch = "master", default-features = false, features = ["derive", "alloc"] }
1514
vsock = { version = "0.2.4", optional = true }
@@ -18,4 +17,4 @@ vsock = { version = "0.2.4", optional = true }
1817
std = ["serde/std", "vsock"]
1918
default = ["std"]
2019
docs = []
21-
rustc-dep-of-std = ["core", "alloc", "compiler_builtins/rustc-dep-of-std", "serde/rustc-dep-of-std"]
20+
rustc-dep-of-std = ["core", "alloc", "serde/rustc-dep-of-std"]

intel-sgx/fortanix-sgx-abi/Cargo.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,10 @@ categories = ["os"]
2323

2424
[dependencies]
2525
core = { version = "1.0.0", optional = true, package = "rustc-std-workspace-core" }
26-
compiler_builtins = { version = "0.1.152", optional = true }
2726

2827
[features]
2928
docs = []
30-
rustc-dep-of-std = ["core", "compiler_builtins/rustc-dep-of-std"]
29+
rustc-dep-of-std = ["core"]
3130

3231
[package.metadata.docs.rs]
3332
features = ["docs"]

intel-sgx/insecure-time/Cargo.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ categories = ["os", "hardware-support"]
1515
[dependencies]
1616
alloc = { version = "1.0.0", optional = true, package = "rustc-std-workspace-alloc" }
1717
core = { version = "1.0.0", optional = true, package = "rustc-std-workspace-core" }
18-
compiler_builtins = { version = "0.1.152", optional = true }
1918
clap = { version = "4.5", features = ["derive"], optional = true }
2019

2120
[dev-dependencies]
@@ -24,7 +23,7 @@ rand = "0.8"
2423
[features]
2524
default = ["std", "clap"]
2625
estimate_crystal_clock_freq = []
27-
rustc-dep-of-std = ["alloc", "core", "compiler_builtins/rustc-dep-of-std"]
26+
rustc-dep-of-std = ["alloc", "core"]
2827
std = []
2928

3029
# Features only available during testing:

0 commit comments

Comments
 (0)