Skip to content

Commit 9ab3d0a

Browse files
committed
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. A new `compiler_builtins` feature is added for compatibility, but it should eventually be removed. [1]: rust-lang/rust#141993
1 parent 30a4780 commit 9ab3d0a

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Cargo.toml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,14 @@ members = ["crates/capi", "fuzz"]
1616

1717
[dependencies]
1818
core = { version = '1.0.0', optional = true, package = 'rustc-std-workspace-core' }
19-
compiler_builtins = { version = '0.1.2', optional = true }
2019

2120
[features]
22-
rustc-dep-of-std = ['core', 'compiler_builtins']
21+
rustc-dep-of-std = ['core']
2322
std = []
23+
# Deprecated: `compiler_builtins` used to be a dependency and was enabled by
24+
# some downstream users, but it is no longer needed. This feature should be
25+
# removed in a future release.
26+
compiler_builtins = []
2427

2528
[profile.release]
2629
#lto = true

0 commit comments

Comments
 (0)