Skip to content

Commit 3e1183d

Browse files
Add some recent UEFI updates from rust-lang/rust (#129)
1 parent d99156e commit 3e1183d

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

content/this-month/2022-11/index.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,17 @@ development steps and hope these are useful for others, particularly
102102
the sections on getting into Ring 3, implementing syscalls and
103103
switching stacks with `swapgs`. Suggestions for improvement welcome!
104104

105+
### [`rust-lang/rust` UEFI news](https://github.com/rust-lang/rust)
106+
<span class="maintainers">(Section written by [@nicholasbishop](https://github.com/nicholasbishop))</span>
107+
108+
The [MCP to raise the three UEFI targets to tier 2](https://github.com/rust-lang/compiler-team/issues/555) by [@dvdhrm](https://github.com/dvdhrm) was recently approved.
109+
Following that we merged a PR to [dist builds of the UEFI targets](https://github.com/rust-lang/rust/pull/103933) so that you can install them via rustup (e.g. `rustup target add --toolchain nightly x86_64-unknown-uefi`), and a PR to [add an initial QEMU test](
110+
https://github.com/rust-lang/rust/pull/101703) for the x86_64 UEFI target to help prevent regressions from landing.
111+
112+
The initial nightlies containing the prebuilt UEFI targets revealed some issues in `compiler_builtins` which we fixed and are in the [0.1.84](https://github.com/rust-lang/compiler-builtins/compare/0.1.83...0.1.84) release.
113+
Finally, we [changed the C compiler for the UEFI targets from gcc to clang](https://github.com/rust-lang/rust/pull/104622), which resolved some linker problems.
114+
As of the 2022-11-22 nightly, the three UEFI targets should be fully usable, which means you no longer need to use the unstable `-Zbuild-std` feature.
115+
105116
## Other News
106117

107118
<!--

0 commit comments

Comments
 (0)