File tree 3 files changed +0
-11
lines changed 3 files changed +0
-11
lines changed Original file line number Diff line number Diff line change @@ -139,8 +139,6 @@ align = []
139
139
rustc-dep-of-std = [' align' , ' rustc-std-workspace-core' ]
140
140
extra_traits = []
141
141
const-extern-fn = []
142
- # use_std is deprecated, use `std` instead
143
- use_std = [' std' ]
144
142
145
143
[workspace ]
146
144
members = [" libc-test" ]
Original file line number Diff line number Diff line change @@ -47,8 +47,6 @@ libc = "0.2"
47
47
If you use Rust >= 1.62, this feature is implicitly enabled.
48
48
Otherwise it requires a nightly rustc.
49
49
50
- * ** deprecated** : ` use_std ` is deprecated, and is equivalent to ` std ` .
51
-
52
50
## Rust version support
53
51
54
52
The minimum supported Rust toolchain version is currently ** Rust 1.71.0**
Original file line number Diff line number Diff line change @@ -40,13 +40,6 @@ fn main() {
40
40
let libc_check_cfg = env:: var ( "LIBC_CHECK_CFG" ) . is_ok ( ) ;
41
41
let const_extern_fn_cargo_feature = env:: var ( "CARGO_FEATURE_CONST_EXTERN_FN" ) . is_ok ( ) ;
42
42
43
- if env:: var ( "CARGO_FEATURE_USE_STD" ) . is_ok ( ) {
44
- println ! (
45
- "cargo:warning=\" libc's use_std cargo feature is deprecated since libc 0.2.55; \
46
- please consider using the `std` cargo feature instead\" "
47
- ) ;
48
- }
49
-
50
43
// The ABI of libc used by std is backward compatible with FreeBSD 12.
51
44
// The ABI of libc from crates.io is backward compatible with FreeBSD 11.
52
45
//
You can’t perform that action at this time.
0 commit comments