Crates.io | libefi-sys |
lib.rs | libefi-sys |
version | 0.1.0 |
source | src |
created_at | 2022-11-29 20:48:56.967618 |
updated_at | 2022-11-29 20:48:56.967618 |
description | Bindings for libefi on illumos |
homepage | |
repository | |
max_upload_size | |
id | 725646 |
size | 142,303 |
Bindings to the libefi library on illumos.
This library is built using bindgen, following this tutorial: https://rust-lang.github.io/rust-bindgen/command-line-usage.html
Specifically, this was generated with:
$ bindgen --version
bindgen 0.63.0
$ bindgen wrapper.h -o src/lib.rs
The bindings are then modified to allow compilation without warning.
This is done by prepending the following to lib.rs
.
#![allow(non_upper_case_globals)]
#![allow(non_camel_case_types)]
#![allow(non_snake_case)]