@@ -1293,6 +1293,7 @@ impl File {
12931293 target_os = "openbsd" ,
12941294 target_os = "cygwin" ,
12951295 target_os = "illumos" ,
1296+ target_os = "android" ,
12961297 target_vendor = "apple" ,
12971298 ) ) ]
12981299 pub fn lock ( & self ) -> io:: Result < ( ) > {
@@ -1318,6 +1319,7 @@ impl File {
13181319 target_os = "cygwin" ,
13191320 target_os = "solaris" ,
13201321 target_os = "illumos" ,
1322+ target_os = "android" ,
13211323 target_vendor = "apple" ,
13221324 ) ) ) ]
13231325 pub fn lock ( & self ) -> io:: Result < ( ) > {
@@ -1332,6 +1334,7 @@ impl File {
13321334 target_os = "openbsd" ,
13331335 target_os = "cygwin" ,
13341336 target_os = "illumos" ,
1337+ target_os = "android" ,
13351338 target_vendor = "apple" ,
13361339 ) ) ]
13371340 pub fn lock_shared ( & self ) -> io:: Result < ( ) > {
@@ -1357,6 +1360,7 @@ impl File {
13571360 target_os = "cygwin" ,
13581361 target_os = "solaris" ,
13591362 target_os = "illumos" ,
1363+ target_os = "android" ,
13601364 target_vendor = "apple" ,
13611365 ) ) ) ]
13621366 pub fn lock_shared ( & self ) -> io:: Result < ( ) > {
@@ -1371,6 +1375,7 @@ impl File {
13711375 target_os = "openbsd" ,
13721376 target_os = "cygwin" ,
13731377 target_os = "illumos" ,
1378+ target_os = "android" ,
13741379 target_vendor = "apple" ,
13751380 ) ) ]
13761381 pub fn try_lock ( & self ) -> Result < ( ) , TryLockError > {
@@ -1412,6 +1417,7 @@ impl File {
14121417 target_os = "cygwin" ,
14131418 target_os = "solaris" ,
14141419 target_os = "illumos" ,
1420+ target_os = "android" ,
14151421 target_vendor = "apple" ,
14161422 ) ) ) ]
14171423 pub fn try_lock ( & self ) -> Result < ( ) , TryLockError > {
@@ -1429,6 +1435,7 @@ impl File {
14291435 target_os = "openbsd" ,
14301436 target_os = "cygwin" ,
14311437 target_os = "illumos" ,
1438+ target_os = "android" ,
14321439 target_vendor = "apple" ,
14331440 ) ) ]
14341441 pub fn try_lock_shared ( & self ) -> Result < ( ) , TryLockError > {
@@ -1470,6 +1477,7 @@ impl File {
14701477 target_os = "cygwin" ,
14711478 target_os = "solaris" ,
14721479 target_os = "illumos" ,
1480+ target_os = "android" ,
14731481 target_vendor = "apple" ,
14741482 ) ) ) ]
14751483 pub fn try_lock_shared ( & self ) -> Result < ( ) , TryLockError > {
@@ -1487,6 +1495,7 @@ impl File {
14871495 target_os = "openbsd" ,
14881496 target_os = "cygwin" ,
14891497 target_os = "illumos" ,
1498+ target_os = "android" ,
14901499 target_vendor = "apple" ,
14911500 ) ) ]
14921501 pub fn unlock ( & self ) -> io:: Result < ( ) > {
@@ -1512,6 +1521,7 @@ impl File {
15121521 target_os = "cygwin" ,
15131522 target_os = "solaris" ,
15141523 target_os = "illumos" ,
1524+ target_os = "android" ,
15151525 target_vendor = "apple" ,
15161526 ) ) ) ]
15171527 pub fn unlock ( & self ) -> io:: Result < ( ) > {
0 commit comments