Skip to content

Commit b8bf226

Browse files
committed
categories: Add os::linux-apis
Linux has a large API surface that isn't shared with other members of the Unix/Unix-like family, so having a separate category for it allows crate authors to better distinguish when writing bindings for Linux-specific interfaces. This is consistent with the availability of `os::macos-apis`, as macOS is another member of the Unix/Unix-like family with its own large and discrete API surface.
1 parent 8f04cc1 commit b8bf226

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/boot/categories.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -349,6 +349,12 @@ description = """
349349
Bindings to operating system-specific APIs.\
350350
"""
351351

352+
[os.categories.linux-apis]
353+
name = "Linux APIs"
354+
description = """
355+
Bindings to Linux-specific APIs.\
356+
"""
357+
352358
[os.categories.macos-apis]
353359
name = "mac OS APIs"
354360
description = """

0 commit comments

Comments
 (0)