Skip to content

Commit b640279

Browse files
roypatalxiord
authored andcommitted
Regenerate bindings with bindgen-rs 0.65.1
The bindings were generated using an old version of bindgen that generated unittests relying on holding unaligned references. With rust 1.69.0, this became a hard-error, preventing us from upgrading the toolchain for this crate. This commit regenerates the binding with a new version of bindgen-rs which no longer generates unittests as described above. Signed-off-by: Patrick Roy <roypat@amazon.co.uk>
1 parent 679cf2e commit b640279

File tree

4 files changed

+730
-558
lines changed

4 files changed

+730
-558
lines changed

src/loader_gen/mod.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@
1010
//! Bindgen autogenerated structs for boot parameters.
1111
1212
#![cfg(any(target_arch = "x86", target_arch = "x86_64"))]
13-
// Keep this until https://github.com/rust-lang/rust-bindgen/issues/1651 is fixed.
14-
#![cfg_attr(test, allow(deref_nullptr, unaligned_references))]
1513

1614
mod x86_64;
1715
pub use x86_64::*;

0 commit comments

Comments
 (0)