Add Rust support and DXE Rust driver to boot [Rebase & FF] #688
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Includes changes to add Rust build support to the repo, include a Rust
DXE driver (
HelloWorldRustDxe
) in theQemuQ35Pkg
andQemuSbsaPkg
build and boot, and associated pipeline changes.
Change summary:
Add repo Rust infrastructure support
Adds files to support:
Bump Common/MU from 2023020001.3.1 to 2023020001.4.0
Add HelloWorldRustDxe to QemuQ35Pkg and QemuSbsaPkg
Adds the driver to both packages to demonstrate a Rust based UEFI
DXE driver executing during boot on a X64 and AARCH64 system.
A workspace Cargo.toml file is added for cargo make. Since this repo
is the "leaf of a dependency chain" in that it builds binaries that
are integrated into the platform build, the
Cargo.lock
file ischecked in per the guidance in:
https://doc.rust-lang.org/cargo/faq.html#why-do-binaries-have-cargolock-in-version-control-but-not-libraries
.azurepipelines: Add Rust support
Updates the repo pipelines to support Rust builds.
flow, or firmware?
validation improvement, ...
in build or boot behavior?
a function in a new library class in a pre-existing module, ...
outside direct code modifications (and comments)?
on an a separate Web page, ...
How This Was Tested
the expected debug messages
Integration Instructions
N/A
Note: The
MU_BASECORE
submodule will be updated after microsoft/mu_basecore#545 completes.