summaryrefslogtreecommitdiffstats
path: root/rust/.gitignore
diff options
context:
space:
mode:
authorAsahi Lina <lina@asahilina.net>2023-04-03 11:33:52 +0200
committerMiguel Ojeda <ojeda@kernel.org>2023-04-22 01:46:45 +0200
commit4e1746656839ab1e88d76eec4d2fa0b41d585604 (patch)
tree3636331016fa3b21e46f4d54d0741c3b7f1021d4 /rust/.gitignore
parentrust: sync: introduce `CondVar` (diff)
downloadlinux-4e1746656839ab1e88d76eec4d2fa0b41d585604.tar.xz
linux-4e1746656839ab1e88d76eec4d2fa0b41d585604.zip
rust: uapi: Add UAPI crate
This crate mirrors the `bindings` crate, but will contain only UAPI bindings. Unlike the bindings crate, drivers may directly use this crate if they have to interface with userspace. Initially, just bind the generic ioctl stuff. In the future, we would also like to add additional checks to ensure that all types exposed by this crate satisfy UAPI-safety guarantees (that is, they are safely castable to/from a "bag of bits"). [ Miguel: added support for the `rustdoc` and `rusttest` targets, since otherwise they fail, and we want to keep them working. ] Reviewed-by: Martin Rodriguez Reboredo <yakoyoku@gmail.com> Signed-off-by: Asahi Lina <lina@asahilina.net> Link: https://lore.kernel.org/r/20230329-rust-uapi-v2-1-bca5fb4d4a12@asahilina.net Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Diffstat (limited to 'rust/.gitignore')
-rw-r--r--rust/.gitignore1
1 files changed, 1 insertions, 0 deletions
diff --git a/rust/.gitignore b/rust/.gitignore
index 168cb26a31b9..21552992b401 100644
--- a/rust/.gitignore
+++ b/rust/.gitignore
@@ -2,6 +2,7 @@
bindings_generated.rs
bindings_helpers_generated.rs
+uapi_generated.rs
exports_*_generated.h
doc/
test/