From 493d0d6440128a42b81fa4797212bf5966b9f54f Mon Sep 17 00:00:00 2001 From: Miguel Ojeda Date: Sat, 12 Sep 2020 14:38:29 +0200 Subject: Parameter support To have more flexibility, switch to a procedural macro instead. Signed-off-by: Miguel Ojeda --- rust/kernel/build.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'rust/kernel/build.rs') 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 -- cgit v1.2.3