File tree Expand file tree Collapse file tree 3 files changed +0
-11
lines changed Expand file tree Collapse file tree 3 files changed +0
-11
lines changed Original file line number Diff line number Diff line change @@ -139,8 +139,6 @@ align = []
139139rustc-dep-of-std = [' align' , ' rustc-std-workspace-core' ]
140140extra_traits = []
141141const-extern-fn = []
142- # use_std is deprecated, use `std` instead
143- use_std = [' std' ]
144142
145143[workspace ]
146144members = [" libc-test" ]
Original file line number Diff line number Diff line change @@ -47,8 +47,6 @@ libc = "0.2"
4747 If you use Rust >= 1.62, this feature is implicitly enabled.
4848 Otherwise it requires a nightly rustc.
4949
50- * ** deprecated** : ` use_std ` is deprecated, and is equivalent to ` std ` .
51-
5250## Rust version support
5351
5452The 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() {
4040 let libc_check_cfg = env:: var ( "LIBC_CHECK_CFG" ) . is_ok ( ) ;
4141 let const_extern_fn_cargo_feature = env:: var ( "CARGO_FEATURE_CONST_EXTERN_FN" ) . is_ok ( ) ;
4242
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-
5043 // The ABI of libc used by std is backward compatible with FreeBSD 12.
5144 // The ABI of libc from crates.io is backward compatible with FreeBSD 11.
5245 //
You can’t perform that action at this time.
0 commit comments