@@ -1292,6 +1292,8 @@ impl File {
12921292 target_os = "netbsd" ,
12931293 target_os = "openbsd" ,
12941294 target_os = "cygwin" ,
1295+ target_os = "illumos" ,
1296+ target_os = "android" ,
12951297 target_vendor = "apple" ,
12961298 ) ) ]
12971299 pub fn lock ( & self ) -> io:: Result < ( ) > {
@@ -1316,6 +1318,8 @@ impl File {
13161318 target_os = "openbsd" ,
13171319 target_os = "cygwin" ,
13181320 target_os = "solaris" ,
1321+ target_os = "illumos" ,
1322+ target_os = "android" ,
13191323 target_vendor = "apple" ,
13201324 ) ) ) ]
13211325 pub fn lock ( & self ) -> io:: Result < ( ) > {
@@ -1329,6 +1333,8 @@ impl File {
13291333 target_os = "netbsd" ,
13301334 target_os = "openbsd" ,
13311335 target_os = "cygwin" ,
1336+ target_os = "illumos" ,
1337+ target_os = "android" ,
13321338 target_vendor = "apple" ,
13331339 ) ) ]
13341340 pub fn lock_shared ( & self ) -> io:: Result < ( ) > {
@@ -1353,6 +1359,8 @@ impl File {
13531359 target_os = "openbsd" ,
13541360 target_os = "cygwin" ,
13551361 target_os = "solaris" ,
1362+ target_os = "illumos" ,
1363+ target_os = "android" ,
13561364 target_vendor = "apple" ,
13571365 ) ) ) ]
13581366 pub fn lock_shared ( & self ) -> io:: Result < ( ) > {
@@ -1366,6 +1374,8 @@ impl File {
13661374 target_os = "netbsd" ,
13671375 target_os = "openbsd" ,
13681376 target_os = "cygwin" ,
1377+ target_os = "illumos" ,
1378+ target_os = "android" ,
13691379 target_vendor = "apple" ,
13701380 ) ) ]
13711381 pub fn try_lock ( & self ) -> Result < ( ) , TryLockError > {
@@ -1406,6 +1416,8 @@ impl File {
14061416 target_os = "openbsd" ,
14071417 target_os = "cygwin" ,
14081418 target_os = "solaris" ,
1419+ target_os = "illumos" ,
1420+ target_os = "android" ,
14091421 target_vendor = "apple" ,
14101422 ) ) ) ]
14111423 pub fn try_lock ( & self ) -> Result < ( ) , TryLockError > {
@@ -1422,6 +1434,8 @@ impl File {
14221434 target_os = "netbsd" ,
14231435 target_os = "openbsd" ,
14241436 target_os = "cygwin" ,
1437+ target_os = "illumos" ,
1438+ target_os = "android" ,
14251439 target_vendor = "apple" ,
14261440 ) ) ]
14271441 pub fn try_lock_shared ( & self ) -> Result < ( ) , TryLockError > {
@@ -1462,6 +1476,8 @@ impl File {
14621476 target_os = "openbsd" ,
14631477 target_os = "cygwin" ,
14641478 target_os = "solaris" ,
1479+ target_os = "illumos" ,
1480+ target_os = "android" ,
14651481 target_vendor = "apple" ,
14661482 ) ) ) ]
14671483 pub fn try_lock_shared ( & self ) -> Result < ( ) , TryLockError > {
@@ -1478,6 +1494,8 @@ impl File {
14781494 target_os = "netbsd" ,
14791495 target_os = "openbsd" ,
14801496 target_os = "cygwin" ,
1497+ target_os = "illumos" ,
1498+ target_os = "android" ,
14811499 target_vendor = "apple" ,
14821500 ) ) ]
14831501 pub fn unlock ( & self ) -> io:: Result < ( ) > {
@@ -1502,6 +1520,8 @@ impl File {
15021520 target_os = "openbsd" ,
15031521 target_os = "cygwin" ,
15041522 target_os = "solaris" ,
1523+ target_os = "illumos" ,
1524+ target_os = "android" ,
15051525 target_vendor = "apple" ,
15061526 ) ) ) ]
15071527 pub fn unlock ( & self ) -> io:: Result < ( ) > {
0 commit comments