multiboot2-header
This release contains a major refactoring of the internals, guaranteeing
even more sanity checks for correct behaviour and lack of UB. In this release,
the Builder
was rewritten and lots of corresponding UB in certain
corer-cases removed. Further, the builder's API was streamlined.
If you are interested in the internals of the major refactorings recently taken
place, please head to the documentation of multiboot2-common
.
#[must_use]
Builder
. This needs the
builder
feature.Multiboot2Header::load
has been
changed.multiboot2
dependencyEndHeaderTag::default()
TagType::Smbios
tags in the builder.multiboot2
dependency to v0.19.0
multiboot2
dependency doesn't pull in the multiboot2/builder
feature
anymorestd
feature to alloc
multiboot2
dependency to v0.16.0
MULTIBOOT2_HEADER_MAGIC
to MAGIC
Multiboot2HeaderBuilder
to HeaderBuilder
from_addr
to load
. The function now consumes a ptr.HeaderBuilder::build
now returns a value of type HeaderBytes
The old builder could produce misaligned structures.unstable
feature (requires nightly)
core::error::Error
for LoadError
EntryHeaderTag
to EntryAddressHeaderTag
multiboot2_header::header
to multiboot2_header::builder
-> thus, import paths are much more logically nowno_std
environmentsbuilder
-feature to Cargo which requires the alloc
-crate
(this feature can be disabled which will also remove the dependency to
the alloc
crate)Empty release to save the name on crates.io