xref: /aosp_15_r20/external/vboot_reference/rust/vboot_reference-sys/lib.rs (revision 8617a60d3594060b7ecbd21bc622a7c14f3cf2bc)
1 // Copyright 2022 The ChromiumOS Authors
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 /// vboot_reference bindings for Rust.
6 
7 #[allow(
8     clippy::all,
9     non_camel_case_types,
10     non_snake_case,
11     non_upper_case_globals
12 )]
13 pub mod crossystem {
14     include!(concat!(env!("OUT_DIR"), "/crossystem.rs"));
15 }
16 
17 #[allow(
18     clippy::all,
19     non_camel_case_types,
20     non_snake_case,
21     non_upper_case_globals
22 )]
23 pub mod vboot_host {
24     include!(concat!(env!("OUT_DIR"), "/vboot_host.rs"));
25 }
26