windows_enclave/lib.rs
1// Copyright (c) Microsoft Corporation.
2// Licensed under the MIT License.
3
4#![no_std]
5#![allow(non_camel_case_types, non_snake_case, dead_code)]
6// For re-exporting the generated bindings without warnings
7// E.g HRESULT is defined in both bcrypt and vertdll bindings
8// with the same definition.
9#![allow(ambiguous_glob_reexports)]
10
11mod manual_bindings;
12
13pub mod bcrypt {
14 include!(concat!(env!("OUT_DIR"), "/bcrypt.rs"));
15 pub use super::manual_bindings::bcrypt::*;
16}
17
18pub mod vertdll {
19 include!(concat!(env!("OUT_DIR"), "/vertdll.rs"));
20 pub use super::manual_bindings::vertdll::*;
21}
22
23pub mod veinterop {
24 pub use super::manual_bindings::veinterop::*;
25}