Delete old clib items

This commit is contained in:
Joshua Coles 2023-03-20 15:04:56 +00:00
parent 3ac782fb38
commit ded1b49068
2 changed files with 0 additions and 27 deletions

View File

@ -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");
}

View File

@ -1,11 +0,0 @@
#include <cstdarg>
#include <cstdint>
#include <cstdlib>
#include <ostream>
#include <new>
extern "C" {
bool dla_rust_disabled();
} // extern "C"