summaryrefslogtreecommitdiffstats
path: root/rust/kernel/build.rs
diff options
context:
space:
mode:
authorMiguel Ojeda <ojeda@users.noreply.github.com>2020-09-20 01:53:25 +0200
committerGitHub <noreply@github.com>2020-09-20 01:53:25 +0200
commit58ffd762f26eb282e84aaa49a647d379c029b9f6 (patch)
treec447bc24bc994c2f6a6ae81611bd93183f08a3f9 /rust/kernel/build.rs
parent33c80fea1445f217bc048aada96e77bab857cd1c (diff)
parent60567cfb44249250ce3f86b8131a07b37c7ef55b (diff)
Merge pull request #7 from Rust-for-Linux/rust-params
Parameter support
Diffstat (limited to 'rust/kernel/build.rs')
-rw-r--r--rust/kernel/build.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/rust/kernel/build.rs b/rust/kernel/build.rs
index b9085a6367b4..5a3794fdc995 100644
--- a/rust/kernel/build.rs
+++ b/rust/kernel/build.rs
@@ -47,6 +47,8 @@ const INCLUDED_VARS: &[&str] = &[
"SEEK_CUR",
"SEEK_END",
"O_NONBLOCK",
+ "param_ops_bool",
+ "param_ops_int",
];
const OPAQUE_TYPES: &[&str] = &[
// These need to be opaque because they're both packed and aligned, which rustc