File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ use std::string::String;
88// make sure to add it to this list as well.
99const ALLOWED_CFGS : & ' static [ & ' static str ] = & [
1010 "emscripten_new_stat_abi" ,
11+ "espidf_time64" ,
1112 "freebsd10" ,
1213 "freebsd11" ,
1314 "freebsd12" ,
@@ -51,7 +52,7 @@ fn main() {
5152 let align_cargo_feature = env:: var ( "CARGO_FEATURE_ALIGN" ) . is_ok ( ) ;
5253 let const_extern_fn_cargo_feature = env:: var ( "CARGO_FEATURE_CONST_EXTERN_FN" ) . is_ok ( ) ;
5354 let libc_ci = env:: var ( "LIBC_CI" ) . is_ok ( ) ;
54- let libc_check_cfg = env:: var ( "LIBC_CHECK_CFG" ) . is_ok ( ) ;
55+ let libc_check_cfg = env:: var ( "LIBC_CHECK_CFG" ) . is_ok ( ) || rustc_minor_ver >= 80 ;
5556
5657 if env:: var ( "CARGO_FEATURE_USE_STD" ) . is_ok ( ) {
5758 println ! (
Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ mod t {
7979
8080 // These OSes allow 32 bits for both minor and major
8181 #[ cfg( any(
82- target_os = "empscripten " ,
82+ target_os = "emscripten " ,
8383 target_os = "freebsd" ,
8484 target_os = "fuchsia" ,
8585 target_os = "linux" ,
You can’t perform that action at this time.
0 commit comments