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