@@ -1265,6 +1265,7 @@ impl File {
1265
1265
target_os = "linux" ,
1266
1266
target_os = "netbsd" ,
1267
1267
target_os = "openbsd" ,
1268
+ target_os = "cygwin" ,
1268
1269
target_vendor = "apple" ,
1269
1270
) ) ]
1270
1271
pub fn lock ( & self ) -> io:: Result < ( ) > {
@@ -1278,6 +1279,7 @@ impl File {
1278
1279
target_os = "linux" ,
1279
1280
target_os = "netbsd" ,
1280
1281
target_os = "openbsd" ,
1282
+ target_os = "cygwin" ,
1281
1283
target_vendor = "apple" ,
1282
1284
) ) ) ]
1283
1285
pub fn lock ( & self ) -> io:: Result < ( ) > {
@@ -1290,6 +1292,7 @@ impl File {
1290
1292
target_os = "linux" ,
1291
1293
target_os = "netbsd" ,
1292
1294
target_os = "openbsd" ,
1295
+ target_os = "cygwin" ,
1293
1296
target_vendor = "apple" ,
1294
1297
) ) ]
1295
1298
pub fn lock_shared ( & self ) -> io:: Result < ( ) > {
@@ -1303,6 +1306,7 @@ impl File {
1303
1306
target_os = "linux" ,
1304
1307
target_os = "netbsd" ,
1305
1308
target_os = "openbsd" ,
1309
+ target_os = "cygwin" ,
1306
1310
target_vendor = "apple" ,
1307
1311
) ) ) ]
1308
1312
pub fn lock_shared ( & self ) -> io:: Result < ( ) > {
@@ -1315,6 +1319,7 @@ impl File {
1315
1319
target_os = "linux" ,
1316
1320
target_os = "netbsd" ,
1317
1321
target_os = "openbsd" ,
1322
+ target_os = "cygwin" ,
1318
1323
target_vendor = "apple" ,
1319
1324
) ) ]
1320
1325
pub fn try_lock ( & self ) -> Result < ( ) , TryLockError > {
@@ -1336,6 +1341,7 @@ impl File {
1336
1341
target_os = "linux" ,
1337
1342
target_os = "netbsd" ,
1338
1343
target_os = "openbsd" ,
1344
+ target_os = "cygwin" ,
1339
1345
target_vendor = "apple" ,
1340
1346
) ) ) ]
1341
1347
pub fn try_lock ( & self ) -> Result < ( ) , TryLockError > {
@@ -1351,6 +1357,7 @@ impl File {
1351
1357
target_os = "linux" ,
1352
1358
target_os = "netbsd" ,
1353
1359
target_os = "openbsd" ,
1360
+ target_os = "cygwin" ,
1354
1361
target_vendor = "apple" ,
1355
1362
) ) ]
1356
1363
pub fn try_lock_shared ( & self ) -> Result < ( ) , TryLockError > {
@@ -1372,6 +1379,7 @@ impl File {
1372
1379
target_os = "linux" ,
1373
1380
target_os = "netbsd" ,
1374
1381
target_os = "openbsd" ,
1382
+ target_os = "cygwin" ,
1375
1383
target_vendor = "apple" ,
1376
1384
) ) ) ]
1377
1385
pub fn try_lock_shared ( & self ) -> Result < ( ) , TryLockError > {
@@ -1387,6 +1395,7 @@ impl File {
1387
1395
target_os = "linux" ,
1388
1396
target_os = "netbsd" ,
1389
1397
target_os = "openbsd" ,
1398
+ target_os = "cygwin" ,
1390
1399
target_vendor = "apple" ,
1391
1400
) ) ]
1392
1401
pub fn unlock ( & self ) -> io:: Result < ( ) > {
@@ -1400,6 +1409,7 @@ impl File {
1400
1409
target_os = "linux" ,
1401
1410
target_os = "netbsd" ,
1402
1411
target_os = "openbsd" ,
1412
+ target_os = "cygwin" ,
1403
1413
target_vendor = "apple" ,
1404
1414
) ) ) ]
1405
1415
pub fn unlock ( & self ) -> io:: Result < ( ) > {
0 commit comments