Merge pull request #1 from nils-mathieu/trunk

Remove dependency on standard library
This commit is contained in:
ミンツキ 2023-04-25 16:28:56 +02:00 committed by GitHub
commit 828d43342c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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)]