We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 23c7bad commit 10986bdCopy full SHA for 10986bd
src/tools/compiletest/src/directives/directive_names.rs
@@ -190,6 +190,7 @@ pub(crate) const KNOWN_DIRECTIVE_NAMES: &[&str] = &[
190
"only-aarch64",
191
"only-aarch64-apple-darwin",
192
"only-aarch64-unknown-linux-gnu",
193
+ "only-aarch64-unknown-uefi",
194
"only-apple",
195
"only-arm",
196
"only-arm64ec",
tests/ui/issues/issue-98254.rs
@@ -0,0 +1,15 @@
1
+//@ build-pass
2
+//@ only-aarch64-unknown-uefi
3
+//@ compile-flags: -Cpanic=abort
4
+//@compile-flags: -Clinker=rust-lld
5
+#![no_std]
6
+#![no_main]
7
+#[panic_handler]
8
+fn panic_handler(_info: &core::panic::PanicInfo) -> ! {
9
+ loop {}
10
+}
11
+
12
+#[export_name = "efi_main"]
13
+fn main() {
14
+ let b = [0; 1024];
15
0 commit comments