@@ -22,50 +22,29 @@ pub type ssize_t = isize;
22
22
// - longs can either be 32-bit or 64-bit
23
23
24
24
// Whether chars default to signed or unsigned is primarily determined by
25
- // architecture (windows is the main exception here).
25
+ // architecture (Windows is the main exception here).
26
26
cfg_if ! {
27
27
if #[ cfg( any( target_arch = "aarch64" ,
28
28
target_arch = "arm" ,
29
- target_arch = "armebv7r" ,
30
- target_arch = "armv5te" ,
31
- target_arch = "armv7" ,
32
- target_arch = "armv7r" ,
33
- target_arch = "armv7s" ,
34
29
target_arch = "asmjs" ,
35
30
target_arch = "wasm32" ,
36
31
target_arch = "wasm64" ,
37
32
target_arch = "powerpc" ,
38
33
target_arch = "powerpc64" ,
39
- target_arch = "powerpc64le" ,
40
- target_arch = "s390x" ,
41
- target_arch = "thumbv6" ,
42
- target_arch = "thumbv6m" ,
43
- target_arch = "thummv7" ,
44
- target_arch = "thumbv7em" ,
45
- target_arch = "thumbv7m" ,
46
- target_arch = "thumbv7neon" ,
47
- target_arch = "tummbv8" ,
48
- target_arch = "thumbv8m" ,
49
- target_arch = "thumbv8m.main" ) ) ] {
34
+ target_arch = "s390x" ) ) ] {
50
35
pub type c_char = u8 ;
51
36
pub type wchar_t = u32 ;
52
- } else if #[ cfg( any( target_arch = "i386" ,
53
- target_arch = "i586" ,
54
- target_arch = "i686" ,
55
- target_arch = "x86" ,
37
+ } else if #[ cfg( any( target_arch = "x86" ,
56
38
target_arch = "x86_64" ,
57
39
target_arch = "mips" ,
58
40
target_arch = "mips64" ,
59
- target_arch = "mips64el" ,
60
- target_arch = "mipsel" ,
41
+ target_arch = "msp430" ,
61
42
target_arch = "nvptx" ,
62
43
target_arch = "nvptx64" ,
44
+ target_arch = "sparc" ,
63
45
target_arch = "sparc64" ,
64
- target_arch = "sparcv9" ,
65
- target_arch = "riscv64" ,
66
46
target_arch = "riscv32" ,
67
- target_arch = "riscv32imac" ,
68
- target_arch = "riscv32imc" ) ) ] {
47
+ target_arch = "riscv64" ) ) ] {
69
48
pub type c_char = i8 ;
70
49
pub type wchar_t = i32 ;
71
50
}
0 commit comments