File tree Expand file tree Collapse file tree 3 files changed +2
-7
lines changed Expand file tree Collapse file tree 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"]
135135rustc-std-workspace-core = { version = " 1.0.0" , optional = true }
136136
137137[features ]
138- default = [" const-extern-fn " , " std" ]
138+ default = [" std" ]
139139std = []
140140rustc-dep-of-std = [" rustc-std-workspace-core" ]
141141extra_traits = []
142142
143- # `const-extern-function` is deprecated and no longer does anything
144- # FIXME(1.0): remove this completely
145- const-extern-fn = []
146-
147143[workspace ]
148144members = [" libc-test" ]
Original file line number Diff line number Diff line change @@ -62,7 +62,6 @@ test_target() {
6262
6363 # Test with expected combinations of features
6464 $cmd
65- $cmd --features const-extern-fn
6665 $cmd --features extra_traits
6766
6867 # 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 {
169169
170170// This is a pretty horrible hack to allow us to conditionally mark
171171// 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) .
173173//
174174// When 'const-extern-fn' is enabled, we emit the captured 'const' keyword
175175// in the expanded function.
You can’t perform that action at this time.
0 commit comments