File tree Expand file tree Collapse file tree 3 files changed +8
-12
lines changed Expand file tree Collapse file tree 3 files changed +8
-12
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ bench = false
16
16
17
17
[dependencies ]
18
18
core = { path = " ../core" , public = true }
19
- compiler_builtins = { path = " ../compiler-builtins/compiler-builtins" , features = [" rustc-dep-of-std " ] }
19
+ compiler_builtins = { path = " ../compiler-builtins/compiler-builtins" , features = [" compiler-builtins " ] }
20
20
21
21
[features ]
22
22
compiler-builtins-mem = [' compiler_builtins/mem' ]
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ test = false
31
31
cc = { optional = true , version = " 1.2" }
32
32
33
33
[features ]
34
- default = [" compiler-builtins " ]
34
+ default = []
35
35
36
36
# Enable compilation of C code in compiler-rt, filling in some more optimized
37
37
# implementations and also filling in unimplemented intrinsics
@@ -45,7 +45,8 @@ no-asm = []
45
45
# `f128` support. Disabled any intrinsics which use those types.
46
46
no-f16-f128 = []
47
47
48
- # Flag this library as the unstable compiler-builtins lib
48
+ # Flag this library as the unstable compiler-builtins lib. This must be enabled
49
+ # when using as `std`'s dependency.'
49
50
compiler-builtins = []
50
51
51
52
# Generate memory-related intrinsics like memcpy
@@ -55,9 +56,6 @@ mem = []
55
56
# compiler-rt implementations. Also used for testing
56
57
mangled-names = []
57
58
58
- # Only used in the compiler's build system
59
- rustc-dep-of-std = [" compiler-builtins" ]
60
-
61
59
# This makes certain traits and function specializations public that
62
60
# are not normally public but are required by the `builtins-test`
63
61
unstable-public-internals = []
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ core = { path = "../../core", optional = true }
29
29
cc = { optional = true , version = " 1.2" }
30
30
31
31
[features ]
32
- default = [" compiler-builtins " ]
32
+ default = []
33
33
34
34
# Enable compilation of C code in compiler-rt, filling in some more optimized
35
35
# implementations and also filling in unimplemented intrinsics
@@ -43,8 +43,9 @@ no-asm = []
43
43
# `f128` support. Disabled any intrinsics which use those types.
44
44
no-f16-f128 = []
45
45
46
- # Flag this library as the unstable compiler-builtins lib
47
- compiler-builtins = []
46
+ # Flag this library as the unstable compiler-builtins lib. This must be enabled
47
+ # when using as `std`'s dependency.'
48
+ compiler-builtins = [" dep:core" ]
48
49
49
50
# Generate memory-related intrinsics like memcpy
50
51
mem = []
@@ -53,9 +54,6 @@ mem = []
53
54
# compiler-rt implementations. Also used for testing
54
55
mangled-names = []
55
56
56
- # Only used in the compiler's build system
57
- rustc-dep-of-std = [" compiler-builtins" , " dep:core" ]
58
-
59
57
# This makes certain traits and function specializations public that
60
58
# are not normally public but are required by the `builtins-test`
61
59
unstable-public-internals = []
You can’t perform that action at this time.
0 commit comments