From b8bf2265cc8796e67fc1b0a36ad1385020889177 Mon Sep 17 00:00:00 2001 From: William Woodruff Date: Mon, 27 Jul 2020 20:01:03 -0400 Subject: [PATCH] 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. --- src/boot/categories.toml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/boot/categories.toml b/src/boot/categories.toml index c01ff6d3922..df6dfc51160 100644 --- a/src/boot/categories.toml +++ b/src/boot/categories.toml @@ -349,6 +349,12 @@ description = """ Bindings to operating system-specific APIs.\ """ +[os.categories.linux-apis] +name = "Linux APIs" +description = """ +Bindings to Linux-specific APIs.\ +""" + [os.categories.macos-apis] name = "mac OS APIs" description = """