remove dependency on standard library

This commit is contained in:
Nils Mathieu 2023-04-25 11:14:18 +02:00
parent b8341d4749
commit 93393cc1ea
No known key found for this signature in database
GPG Key ID: 771F3615A701D9DC
2 changed files with 2 additions and 0 deletions

View File

@ -6,6 +6,7 @@ use std::path::PathBuf;
fn main() {
let bindings = bindgen::Builder::default()
.header("limine.h")
.use_core()
.generate()
.expect("Unable to generate bindings");

View File

@ -1,3 +1,4 @@
#![no_std]
#![allow(non_upper_case_globals)]
#![allow(non_camel_case_types)]
#![allow(non_snake_case)]