@@ -1627,7 +1627,11 @@ extern "C" {
16271627 link_name = "cfgetispeed@GLIBC_2.0"
16281628 ) ]
16291629 #[ cfg_attr(
1630- all( target_os = "linux" , target_env = "gnu" , target_arch = "mips" ) ,
1630+ all(
1631+ target_os = "linux" ,
1632+ target_env = "gnu" ,
1633+ any( target_arch = "mips" , target_arch = "mips32r6" )
1634+ ) ,
16311635 link_name = "cfgetispeed@GLIBC_2.0"
16321636 ) ]
16331637 #[ cfg_attr(
@@ -1655,7 +1659,11 @@ extern "C" {
16551659 link_name = "cfgetispeed@GLIBC_2.36"
16561660 ) ]
16571661 #[ cfg_attr(
1658- all( target_os = "linux" , target_env = "gnu" , target_arch = "mips64" ) ,
1662+ all(
1663+ target_os = "linux" ,
1664+ target_env = "gnu" ,
1665+ any( target_arch = "mips64" , target_arch = "mips64r6" )
1666+ ) ,
16591667 link_name = "cfgetispeed@GLIBC_2.0"
16601668 ) ]
16611669 #[ cfg_attr(
@@ -1720,7 +1728,11 @@ extern "C" {
17201728 link_name = "cfgetospeed@GLIBC_2.0"
17211729 ) ]
17221730 #[ cfg_attr(
1723- all( target_os = "linux" , target_env = "gnu" , target_arch = "mips" ) ,
1731+ all(
1732+ target_os = "linux" ,
1733+ target_env = "gnu" ,
1734+ any( target_arch = "mips" , target_arch = "mips32r6" )
1735+ ) ,
17241736 link_name = "cfgetospeed@GLIBC_2.0"
17251737 ) ]
17261738 #[ cfg_attr(
@@ -1748,7 +1760,11 @@ extern "C" {
17481760 link_name = "cfgetospeed@GLIBC_2.36"
17491761 ) ]
17501762 #[ cfg_attr(
1751- all( target_os = "linux" , target_env = "gnu" , target_arch = "mips64" ) ,
1763+ all(
1764+ target_os = "linux" ,
1765+ target_env = "gnu" ,
1766+ any( target_arch = "mips64" , target_arch = "mips64r6" )
1767+ ) ,
17521768 link_name = "cfgetospeed@GLIBC_2.0"
17531769 ) ]
17541770 #[ cfg_attr(
@@ -1813,7 +1829,11 @@ extern "C" {
18131829 link_name = "cfsetispeed@GLIBC_2.0"
18141830 ) ]
18151831 #[ cfg_attr(
1816- all( target_os = "linux" , target_env = "gnu" , target_arch = "mips" ) ,
1832+ all(
1833+ target_os = "linux" ,
1834+ target_env = "gnu" ,
1835+ any( target_arch = "mips" , target_arch = "mips32r6" )
1836+ ) ,
18171837 link_name = "cfsetispeed@GLIBC_2.0"
18181838 ) ]
18191839 #[ cfg_attr(
@@ -1841,7 +1861,11 @@ extern "C" {
18411861 link_name = "cfsetispeed@GLIBC_2.36"
18421862 ) ]
18431863 #[ cfg_attr(
1844- all( target_os = "linux" , target_env = "gnu" , target_arch = "mips64" ) ,
1864+ all(
1865+ target_os = "linux" ,
1866+ target_env = "gnu" ,
1867+ any( target_arch = "mips64" , target_arch = "mips64r6" )
1868+ ) ,
18451869 link_name = "cfsetispeed@GLIBC_2.0"
18461870 ) ]
18471871 #[ cfg_attr(
@@ -1906,7 +1930,11 @@ extern "C" {
19061930 link_name = "cfsetospeed@GLIBC_2.0"
19071931 ) ]
19081932 #[ cfg_attr(
1909- all( target_os = "linux" , target_env = "gnu" , target_arch = "mips" ) ,
1933+ all(
1934+ target_os = "linux" ,
1935+ target_env = "gnu" ,
1936+ any( target_arch = "mips" , target_arch = "mips32r6" )
1937+ ) ,
19101938 link_name = "cfsetospeed@GLIBC_2.0"
19111939 ) ]
19121940 #[ cfg_attr(
@@ -1934,7 +1962,11 @@ extern "C" {
19341962 link_name = "cfsetospeed@GLIBC_2.36"
19351963 ) ]
19361964 #[ cfg_attr(
1937- all( target_os = "linux" , target_env = "gnu" , target_arch = "mips64" ) ,
1965+ all(
1966+ target_os = "linux" ,
1967+ target_env = "gnu" ,
1968+ any( target_arch = "mips64" , target_arch = "mips64r6" )
1969+ ) ,
19381970 link_name = "cfsetospeed@GLIBC_2.0"
19391971 ) ]
19401972 #[ cfg_attr(
@@ -1990,7 +2022,13 @@ extern "C" {
19902022 all(
19912023 target_os = "linux" ,
19922024 target_env = "gnu" ,
1993- any( target_arch = "mips" , target_arch = "mips64" , target_arch = "sparc" ) ,
2025+ any(
2026+ target_arch = "mips" ,
2027+ target_arch = "mips32r6" ,
2028+ target_arch = "mips64" ,
2029+ target_arch = "mips64r6" ,
2030+ target_arch = "sparc"
2031+ ) ,
19942032 ) ,
19952033 link_name = "tcgetattr@GLIBC_2.0"
19962034 ) ]
@@ -2003,7 +2041,13 @@ extern "C" {
20032041 all(
20042042 target_os = "linux" ,
20052043 target_env = "gnu" ,
2006- any( target_arch = "mips" , target_arch = "mips64" , target_arch = "sparc" ) ,
2044+ any(
2045+ target_arch = "mips" ,
2046+ target_arch = "mips32r6" ,
2047+ target_arch = "mips64" ,
2048+ target_arch = "mips64r6" ,
2049+ target_arch = "sparc"
2050+ ) ,
20072051 ) ,
20082052 link_name = "tcsetattr@GLIBC_2.0"
20092053 ) ]
@@ -2312,7 +2356,11 @@ cfg_if! {
23122356 link_name = "cfsetspeed@GLIBC_2.0"
23132357 ) ]
23142358 #[ cfg_attr(
2315- all( target_os = "linux" , target_env = "gnu" , target_arch = "mips" ) ,
2359+ all(
2360+ target_os = "linux" ,
2361+ target_env = "gnu" ,
2362+ any( target_arch = "mips" , target_arch = "mips32r6" )
2363+ ) ,
23162364 link_name = "cfsetspeed@GLIBC_2.0"
23172365 ) ]
23182366 #[ cfg_attr(
@@ -2340,7 +2388,11 @@ cfg_if! {
23402388 link_name = "cfsetspeed@GLIBC_2.36"
23412389 ) ]
23422390 #[ cfg_attr(
2343- all( target_os = "linux" , target_env = "gnu" , target_arch = "mips64" ) ,
2391+ all(
2392+ target_os = "linux" ,
2393+ target_env = "gnu" ,
2394+ any( target_arch = "mips64" , target_arch = "mips64r6" )
2395+ ) ,
23442396 link_name = "cfsetspeed@GLIBC_2.0"
23452397 ) ]
23462398 #[ cfg_attr(
0 commit comments