Skip to content

Commit 151ef9c

Browse files
committed
Auto merge of #154633 - tgross35:rollup-Yvmg0Vs, r=tgross35
Rollup of 9 pull requests Successful merges: - rust-lang/rust#154582 (miri subtree update) - rust-lang/rust#142659 (compiler-builtins: Clean up features) - rust-lang/rust#153574 (Avoid ICE when param-env normalization leaves unresolved inference variables) - rust-lang/rust#153648 (Fix EII function aliases eliminated by LTO) - rust-lang/rust#153790 (Fix regression when dealing with generics/values with unresolved inference) - rust-lang/rust#154551 (Skip suggestions pointing to macro def for assert_eq) - rust-lang/rust#154574 (delete several `ui/consts` tests) - rust-lang/rust#154577 (Update `mir-opt` 64-bit panic-abort tests for `Alignment` rename) - rust-lang/rust#154579 (remove debug requirement from hooks)
2 parents 911cb5d + eb8c26d commit 151ef9c

2 files changed

Lines changed: 7 additions & 11 deletions

File tree

builtins-shim/Cargo.toml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ test = false
3939
cc = { version = "1.2", optional = true }
4040

4141
[features]
42-
default = ["compiler-builtins"]
42+
default = []
4343

4444
# Enable compilation of C code in compiler-rt, filling in some more optimized
4545
# implementations and also filling in unimplemented intrinsics
@@ -50,7 +50,8 @@ c = ["dep:cc"]
5050
# the generic versions on all platforms.
5151
no-asm = []
5252

53-
# Flag this library as the unstable compiler-builtins lib
53+
# Flag this library as the unstable compiler-builtins lib. This must be enabled
54+
# when using as `std`'s dependency.'
5455
compiler-builtins = []
5556

5657
# Generate memory-related intrinsics like memcpy
@@ -60,9 +61,6 @@ mem = []
6061
# compiler-rt implementations. Also used for testing
6162
mangled-names = []
6263

63-
# Only used in the compiler's build system
64-
rustc-dep-of-std = ["compiler-builtins"]
65-
6664
# This makes certain traits and function specializations public that
6765
# are not normally public but are required by the `builtins-test`
6866
unstable-public-internals = []

compiler-builtins/Cargo.toml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ core = { path = "../../core", optional = true }
3434
cc = { version = "1.2", optional = true }
3535

3636
[features]
37-
default = ["compiler-builtins"]
37+
default = []
3838

3939
# Enable compilation of C code in compiler-rt, filling in some more optimized
4040
# implementations and also filling in unimplemented intrinsics
@@ -45,8 +45,9 @@ c = ["dep:cc"]
4545
# the generic versions on all platforms.
4646
no-asm = []
4747

48-
# Flag this library as the unstable compiler-builtins lib
49-
compiler-builtins = []
48+
# Flag this library as the unstable compiler-builtins lib. This must be enabled
49+
# when using as `std`'s dependency.'
50+
compiler-builtins = ["dep:core"]
5051

5152
# Generate memory-related intrinsics like memcpy
5253
mem = []
@@ -55,9 +56,6 @@ mem = []
5556
# compiler-rt implementations. Also used for testing
5657
mangled-names = []
5758

58-
# Only used in the compiler's build system
59-
rustc-dep-of-std = ["compiler-builtins", "dep:core"]
60-
6159
# This makes certain traits and function specializations public that
6260
# are not normally public but are required by the `builtins-test`
6361
unstable-public-internals = []

0 commit comments

Comments
 (0)