File tree 3 files changed +2
-7
lines changed
3 files changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -135,14 +135,10 @@ cargo-args = ["-Zbuild-std=core"]
135
135
rustc-std-workspace-core = { version = " 1.0.0" , optional = true }
136
136
137
137
[features ]
138
- default = [" const-extern-fn " , " std" ]
138
+ default = [" std" ]
139
139
std = []
140
140
rustc-dep-of-std = [" rustc-std-workspace-core" ]
141
141
extra_traits = []
142
142
143
- # `const-extern-function` is deprecated and no longer does anything
144
- # FIXME(1.0): remove this completely
145
- const-extern-fn = []
146
-
147
143
[workspace ]
148
144
members = [" libc-test" ]
Original file line number Diff line number Diff line change @@ -62,7 +62,6 @@ test_target() {
62
62
63
63
# Test with expected combinations of features
64
64
$cmd
65
- $cmd --features const-extern-fn
66
65
$cmd --features extra_traits
67
66
68
67
# Test again without default features, i.e. without "std"
Original file line number Diff line number Diff line change @@ -169,7 +169,7 @@ macro_rules! e {
169
169
170
170
// This is a pretty horrible hack to allow us to conditionally mark
171
171
// some functions as 'const', without requiring users of this macro
172
- // to care about the "const-extern-fn" feature.
172
+ // to care about the "const-extern-fn" feature (or `const_extern_fn` config) .
173
173
//
174
174
// When 'const-extern-fn' is enabled, we emit the captured 'const' keyword
175
175
// in the expanded function.
You can’t perform that action at this time.
0 commit comments