mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-29 23:06:41 +00:00
16 lines
413 B
Rust
16 lines
413 B
Rust
|
|
#![allow(non_upper_case_globals)]
|
||
|
|
#![allow(non_camel_case_types)]
|
||
|
|
#![allow(non_snake_case)]
|
||
|
|
// Disable clippy and `u128` not being FFI-safe (see #1)
|
||
|
|
#![allow(clippy::all)]
|
||
|
|
#![allow(improper_ctypes)]
|
||
|
|
|
||
|
|
include!(concat!(env!("OUT_DIR"), "/bindings.rs"));
|
||
|
|
|
||
|
|
#[cfg(target_os = "windows")]
|
||
|
|
pub type OnnxEnumInt = i32;
|
||
|
|
#[cfg(not(target_os = "windows"))]
|
||
|
|
pub type OnnxEnumInt = u32;
|
||
|
|
|
||
|
|
pub use libloading::library_filename;
|