@@ -1264,6 +1264,7 @@ impl File {
1264
1264
target_os = "fuchsia" ,
1265
1265
target_os = "linux" ,
1266
1266
target_os = "netbsd" ,
1267
+ target_os = "openbsd" ,
1267
1268
target_vendor = "apple" ,
1268
1269
) ) ]
1269
1270
pub fn lock ( & self ) -> io:: Result < ( ) > {
@@ -1276,6 +1277,7 @@ impl File {
1276
1277
target_os = "fuchsia" ,
1277
1278
target_os = "linux" ,
1278
1279
target_os = "netbsd" ,
1280
+ target_os = "openbsd" ,
1279
1281
target_vendor = "apple" ,
1280
1282
) ) ) ]
1281
1283
pub fn lock ( & self ) -> io:: Result < ( ) > {
@@ -1287,6 +1289,7 @@ impl File {
1287
1289
target_os = "fuchsia" ,
1288
1290
target_os = "linux" ,
1289
1291
target_os = "netbsd" ,
1292
+ target_os = "openbsd" ,
1290
1293
target_vendor = "apple" ,
1291
1294
) ) ]
1292
1295
pub fn lock_shared ( & self ) -> io:: Result < ( ) > {
@@ -1299,6 +1302,7 @@ impl File {
1299
1302
target_os = "fuchsia" ,
1300
1303
target_os = "linux" ,
1301
1304
target_os = "netbsd" ,
1305
+ target_os = "openbsd" ,
1302
1306
target_vendor = "apple" ,
1303
1307
) ) ) ]
1304
1308
pub fn lock_shared ( & self ) -> io:: Result < ( ) > {
@@ -1310,6 +1314,7 @@ impl File {
1310
1314
target_os = "fuchsia" ,
1311
1315
target_os = "linux" ,
1312
1316
target_os = "netbsd" ,
1317
+ target_os = "openbsd" ,
1313
1318
target_vendor = "apple" ,
1314
1319
) ) ]
1315
1320
pub fn try_lock ( & self ) -> Result < ( ) , TryLockError > {
@@ -1330,6 +1335,7 @@ impl File {
1330
1335
target_os = "fuchsia" ,
1331
1336
target_os = "linux" ,
1332
1337
target_os = "netbsd" ,
1338
+ target_os = "openbsd" ,
1333
1339
target_vendor = "apple" ,
1334
1340
) ) ) ]
1335
1341
pub fn try_lock ( & self ) -> Result < ( ) , TryLockError > {
@@ -1344,6 +1350,7 @@ impl File {
1344
1350
target_os = "fuchsia" ,
1345
1351
target_os = "linux" ,
1346
1352
target_os = "netbsd" ,
1353
+ target_os = "openbsd" ,
1347
1354
target_vendor = "apple" ,
1348
1355
) ) ]
1349
1356
pub fn try_lock_shared ( & self ) -> Result < ( ) , TryLockError > {
@@ -1364,6 +1371,7 @@ impl File {
1364
1371
target_os = "fuchsia" ,
1365
1372
target_os = "linux" ,
1366
1373
target_os = "netbsd" ,
1374
+ target_os = "openbsd" ,
1367
1375
target_vendor = "apple" ,
1368
1376
) ) ) ]
1369
1377
pub fn try_lock_shared ( & self ) -> Result < ( ) , TryLockError > {
@@ -1378,6 +1386,7 @@ impl File {
1378
1386
target_os = "fuchsia" ,
1379
1387
target_os = "linux" ,
1380
1388
target_os = "netbsd" ,
1389
+ target_os = "openbsd" ,
1381
1390
target_vendor = "apple" ,
1382
1391
) ) ]
1383
1392
pub fn unlock ( & self ) -> io:: Result < ( ) > {
@@ -1390,6 +1399,7 @@ impl File {
1390
1399
target_os = "fuchsia" ,
1391
1400
target_os = "linux" ,
1392
1401
target_os = "netbsd" ,
1402
+ target_os = "openbsd" ,
1393
1403
target_vendor = "apple" ,
1394
1404
) ) ) ]
1395
1405
pub fn unlock ( & self ) -> io:: Result < ( ) > {
0 commit comments