File tree 3 files changed +5
-14
lines changed
3 files changed +5
-14
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ use std::str;
7
7
// make sure to add it to this list as well.
8
8
const ALLOWED_CFGS : & ' static [ & ' static str ] = & [
9
9
"emscripten_new_stat_abi" ,
10
+ "espidf_time64" ,
10
11
"freebsd10" ,
11
12
"freebsd11" ,
12
13
"freebsd12" ,
@@ -35,7 +36,7 @@ fn main() {
35
36
let ( rustc_minor_ver, is_nightly) = rustc_minor_nightly ( ) ;
36
37
let rustc_dep_of_std = env:: var ( "CARGO_FEATURE_RUSTC_DEP_OF_STD" ) . is_ok ( ) ;
37
38
let libc_ci = env:: var ( "LIBC_CI" ) . is_ok ( ) ;
38
- let libc_check_cfg = env:: var ( "LIBC_CHECK_CFG" ) . is_ok ( ) ;
39
+ let libc_check_cfg = env:: var ( "LIBC_CHECK_CFG" ) . is_ok ( ) || rustc_minor_ver >= 80 ;
39
40
let const_extern_fn_cargo_feature = env:: var ( "CARGO_FEATURE_CONST_EXTERN_FN" ) . is_ok ( ) ;
40
41
41
42
// The ABI of libc used by std is backward compatible with FreeBSD 12.
Original file line number Diff line number Diff line change 1
1
{
2
- "family" : " unix" ,
3
2
"env" : " newlib" ,
4
- "target-env" : " newlib" ,
5
3
"target-family" : " unix" ,
6
4
"target-c-int-width" : " 32" ,
7
5
"target-endian" : " little" ,
8
6
"target-pointer-width" : " 64" ,
9
7
"os" : " horizon" ,
10
8
"arch" : " aarch64" ,
11
9
"panic-strategy" : " unwind" ,
12
- "abi-blacklist" : [
13
- " stdcall" ,
14
- " fastcall" ,
15
- " vectorcall" ,
16
- " thiscall" ,
17
- " win64" ,
18
- " sysv64"
19
- ],
20
10
"dynamic-linking" : false ,
21
11
"features" : " +a53,+strict-align" ,
22
12
"data-layout" : " e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128" ,
23
13
"executables" : true ,
24
14
"position-independent-executables" : true ,
25
15
"linker-flavor" : " gcc" ,
26
16
"llvm-target" : " aarch64-unknown-none" ,
27
- "has-elf-tls" : false ,
17
+ "has-thread-local" : false ,
28
18
"linker-is-gnu" : true ,
29
19
"disable-redzone" : true ,
30
20
"relocation-model" : " pic" ,
34
24
"trap-unreachable" : true ,
35
25
"emit-debug-gdb-scripts" : true ,
36
26
"requires-uwtable" : true
37
- }
27
+ }
Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ mod t {
79
79
80
80
// These OSes allow 32 bits for both minor and major
81
81
#[ cfg( any(
82
- target_os = "empscripten " ,
82
+ target_os = "emscripten " ,
83
83
target_os = "freebsd" ,
84
84
target_os = "fuchsia" ,
85
85
target_os = "linux" ,
You can’t perform that action at this time.
0 commit comments