diff --git a/build.rs b/build.rs deleted file mode 100644 index 825ff13..0000000 --- a/build.rs +++ /dev/null @@ -1,16 +0,0 @@ -extern crate cbindgen; - -use std::env; -use std::path::Path; -use cbindgen::{Config, Builder}; - -fn main() { - let crate_env = env::var("CARGO_MANIFEST_DIR").unwrap(); - let crate_path = Path::new(&crate_env); - let config = Config::from_root_or_default(crate_path); - Builder::new().with_crate(crate_path.to_str().unwrap()) - .with_config(config) - .generate() - .expect("Cannot generate header file!") - .write_to_file("libdla.h"); -} diff --git a/libdla.h b/libdla.h deleted file mode 100644 index 62322e1..0000000 --- a/libdla.h +++ /dev/null @@ -1,11 +0,0 @@ -#include -#include -#include -#include -#include - -extern "C" { - -bool dla_rust_disabled(); - -} // extern "C"