Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Rust std support for x86_64-unknown-uefi #100316

Closed
wants to merge 60 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
60 commits
Select commit Hold shift + click to select a range
f872477
Add UEFI module in std/sys
Ayush1325 Jun 15, 2022
2be029d
Improve Handling of Pointers
Ayush1325 Jul 2, 2022
ff55531
Add OsStringExt and OsStrExt traits
Ayush1325 Jul 3, 2022
b988418
Graceful abort
Ayush1325 Jul 4, 2022
2800931
Re-export r-efi in std::os::uefi::raw
Ayush1325 Jul 5, 2022
868e3e1
Implement args
Ayush1325 Jul 7, 2022
6769cb5
Implement SystemTime
Ayush1325 Jul 8, 2022
a14d62e
Implment fs
Ayush1325 Jul 10, 2022
289c445
Implement TCP
Ayush1325 Jul 16, 2022
645647d
Add UEFI support for running tests
Ayush1325 Jul 18, 2022
3e891b3
Implement Environment Variables
Ayush1325 Jul 20, 2022
5689d37
Implement append for files
Ayush1325 Jul 23, 2022
372f6e1
Allow Running remote-test-server for UEFI
Ayush1325 Jul 23, 2022
65849ae
Remove r_efi reexports from std
Ayush1325 Jul 25, 2022
ebc5ca2
Various fixes
Ayush1325 Jul 25, 2022
d5e78bf
Add vectored read/write for TcpStream
Ayush1325 Jul 26, 2022
368ab5a
Overhaul File I/O
Ayush1325 Jul 27, 2022
ce43ad6
Fix/Ignore tests
Ayush1325 Jul 27, 2022
72641b8
Implement more of fs
Ayush1325 Jul 29, 2022
95e8f68
Improve TCP
Ayush1325 Jul 30, 2022
aa980a6
Rebase to latest master
Ayush1325 Aug 2, 2022
3d9a83b
Add UEFI Std docs
Ayush1325 Aug 5, 2022
767650c
Refactor UCS-2 stuff
Ayush1325 Aug 6, 2022
4f32221
Improve process
Ayush1325 Aug 7, 2022
0bb8203
Add x86_64-uefi ci
Ayush1325 Aug 9, 2022
e85df7a
Add nothread and staticlink for remote-test-server
Ayush1325 Aug 9, 2022
1f52c23
Fix some tidy errors
Ayush1325 Aug 9, 2022
d84c8e3
Fixes from PR
Ayush1325 Aug 9, 2022
3bf5104
Update compiler_builtins
Ayush1325 Aug 10, 2022
176361a
Improve Envirnoment Variables
Ayush1325 Aug 11, 2022
88c615c
Implement hashmap_random_keys()
Ayush1325 Aug 11, 2022
8cd315c
Improve UEFI sys documentation
Ayush1325 Aug 13, 2022
4bc53e3
Fixes from PR
Ayush1325 Aug 13, 2022
c257c00
Initial implementation of Instant using TSC
Ayush1325 Aug 18, 2022
7262c22
Overhaul Dealing with UEFI ZSTs
Ayush1325 Aug 19, 2022
36c628f
Refactor `std::os::uefi`
Ayush1325 Aug 19, 2022
73852ec
Inline more functions
Ayush1325 Aug 19, 2022
d610cde
Implement `std::fs::File::set_times`
Ayush1325 Aug 20, 2022
3702334
Improve Environment variables
Ayush1325 Aug 22, 2022
c4320c1
Fix CI for x86_64-uefi
Ayush1325 Aug 23, 2022
944bf59
Update r-efi
Ayush1325 Aug 23, 2022
c83cbd2
Improve sys::process
Ayush1325 Aug 26, 2022
a95933b
Fix Env vars
Ayush1325 Aug 27, 2022
3df71e6
Apply fixes suggested in PR
Ayush1325 Aug 28, 2022
545899b
Improve Pipe Protocol
Ayush1325 Sep 13, 2022
945049c
Revert formatting changes to tests
Ayush1325 Sep 14, 2022
1baa38f
Rebase on master
Ayush1325 Sep 19, 2022
a9c1bb8
Implement io for UEFI
Ayush1325 Sep 19, 2022
939e11e
Improve std::uefi::env APIs
Ayush1325 Sep 19, 2022
67329ff
Fixes from PR
Ayush1325 Sep 20, 2022
2345867
Improve handling of Globals
Ayush1325 Oct 2, 2022
d343822
Improve UEFI fs
Ayush1325 Oct 2, 2022
dae6b19
Remove ignore-uefi from tests
Ayush1325 Oct 2, 2022
195633a
Improve TCP
Ayush1325 Oct 5, 2022
4f7ff72
Fixes from PR
Ayush1325 Oct 5, 2022
77283ae
Use compiler generated entry point for UEFI
Ayush1325 Oct 6, 2022
f89fceb
Fixes after rebase
Ayush1325 Oct 14, 2022
000228b
Implement UEFI argument parsing
Ayush1325 Dec 1, 2022
d48d07d
Use r-efi-alloc for allocator
Ayush1325 Dec 6, 2022
824f067
Fixes suggested in PR
Ayush1325 Dec 19, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove ignore-uefi from tests
Do not ignore any tests for UEFI unless they do not fail gracefully.
This should help reduce the surface area of this PR by a lot. Maybe
think about ignoring them once this PR is merged.

Signed-off-by: Ayush Singh <ayushsingh1325@gmail.com>
  • Loading branch information
Ayush1325 committed Dec 1, 2022
commit dae6b198b1db403f8537e99aa59744dc8cbba1df
8 changes: 1 addition & 7 deletions library/std/src/sys/uefi/stdio.rs
Original file line number Diff line number Diff line change
Expand Up @@ -159,12 +159,6 @@ impl Stderr {

impl io::Write for Stderr {
fn write(&mut self, buf: &[u8]) -> io::Result<usize> {
// Since wrtiting to stderr might be tried due to a panic caused by unintialized GLOBALS,
// this check ensures we do not cause an inifinte panic loop.
if !uefi::env::GLOBALS.is_completed() {
return Err(io::const_io_error!(io::ErrorKind::Other, "Globals not intialized"));
}

if let Some(command_protocol) = common::get_current_handle_protocol::<
uefi_command_protocol::Protocol,
>(uefi_command_protocol::PROTOCOL_GUID)
Expand Down Expand Up @@ -193,7 +187,7 @@ pub fn is_ebadf(err: &io::Error) -> bool {

#[inline]
pub fn panic_output() -> Option<impl io::Write> {
Some(Stderr::new())
if uefi::env::GLOBALS.is_completed() { Some(Stderr::new()) } else { None }
}

fn utf8_to_ucs2(buf: &[u8], output: &mut [u16]) -> io::Result<usize> {
Expand Down
1 change: 0 additions & 1 deletion src/test/ui/abi/abi-sysv64-arg-passing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
// ignore-arm
// ignore-aarch64
// ignore-windows
// ignore-uefi rust_test_helpers do not work

// note: windows is ignored as rust_test_helpers does not have the sysv64 abi on windows

Expand Down
1 change: 0 additions & 1 deletion src/test/ui/abi/anon-extern-mod.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// run-pass
// pretty-expanded FIXME #23616
// ignore-wasm32-bare no libc to test ffi with
// ignore-uefi no libc to test ffi with

#![feature(rustc_private)]

Expand Down
1 change: 0 additions & 1 deletion src/test/ui/abi/c-stack-as-value.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// run-pass
// pretty-expanded FIXME #23616
// ignore-wasm32-bare no libc to test ffi with
// ignore-uefi no libc to test ffi with

#![feature(rustc_private)]

Expand Down
1 change: 0 additions & 1 deletion src/test/ui/abi/c-stack-returning-int64.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// run-pass
// ignore-wasm32-bare no libc to test with
// ignore-sgx no libc
// ignore-uefi no libc

#![feature(rustc_private)]

Expand Down
1 change: 0 additions & 1 deletion src/test/ui/abi/cabi-int-widening.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// run-pass
// ignore-wasm32-bare no libc to test ffi with
// ignore-uefi no rust_test_helpers

#[link(name = "rust_test_helpers", kind = "static")]
extern "C" {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
// aux-build:anon-extern-mod-cross-crate-1.rs
// pretty-expanded FIXME #23616
// ignore-wasm32-bare no libc to test ffi with
// ignore-uefi no libc to test ffi with

extern crate anonexternmod;

Expand Down
1 change: 0 additions & 1 deletion src/test/ui/abi/cross-crate/duplicated-external-mods.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// aux-build:anon-extern-mod-cross-crate-1.rs
// pretty-expanded FIXME #23616
// ignore-wasm32-bare no libc to test ffi with
// ignore-uefi no libc to test ffi with

extern crate anonexternmod;

Expand Down
1 change: 0 additions & 1 deletion src/test/ui/abi/extern/extern-call-deep.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// run-pass
// ignore-wasm32-bare no libc to test ffi with
// ignore-uefi no libc to test ffi with
// ignore-emscripten blows the JS stack

#![feature(rustc_private)]
Expand Down
1 change: 0 additions & 1 deletion src/test/ui/abi/extern/extern-call-deep2.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// run-pass
#![allow(unused_must_use)]
// ignore-emscripten no threads support
// ignore-uefi no threads support
#![feature(rustc_private)]

extern crate libc;
Expand Down
1 change: 0 additions & 1 deletion src/test/ui/abi/extern/extern-call-indirect.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// run-pass
// ignore-wasm32-bare no libc to test ffi with
// ignore-uefi no libc to test ffi with

#![feature(rustc_private)]

Expand Down
1 change: 0 additions & 1 deletion src/test/ui/abi/extern/extern-call-scrub.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
// directions

// ignore-emscripten no threads support
// ignore-uefi no threads support
#![feature(rustc_private)]

extern crate libc;
Expand Down
1 change: 0 additions & 1 deletion src/test/ui/abi/extern/extern-crosscrate.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// run-pass
// aux-build:extern-crosscrate-source.rs
// ignore-wasm32-bare no libc to test ffi with
// ignore-uefi no libc to test ffi with

#![feature(rustc_private)]

Expand Down
1 change: 0 additions & 1 deletion src/test/ui/abi/extern/extern-pass-TwoU16s.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
#![allow(improper_ctypes)]

// ignore-wasm32-bare no libc for ffi testing
// ignore-uefi no rust_test_helpers

// Test a foreign function that accepts and returns a struct
// by value.
Expand Down
1 change: 0 additions & 1 deletion src/test/ui/abi/extern/extern-pass-TwoU32s.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
#![allow(improper_ctypes)]

// ignore-wasm32-bare no libc for ffi testing
// ignore-uefi no rust_test_helpers

// Test a foreign function that accepts and returns a struct
// by value.
Expand Down
1 change: 0 additions & 1 deletion src/test/ui/abi/extern/extern-pass-TwoU64s.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
#![allow(improper_ctypes)]

// ignore-wasm32-bare no libc for ffi testing
// ignore-uefi no rust_test_helpers

// Test a foreign function that accepts and returns a struct
// by value.
Expand Down
1 change: 0 additions & 1 deletion src/test/ui/abi/extern/extern-pass-TwoU8s.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
#![allow(improper_ctypes)]

// ignore-wasm32-bare no libc for ffi testing
// ignore-uefi no rust_test_helpers

// Test a foreign function that accepts and returns a struct
// by value.
Expand Down
1 change: 0 additions & 1 deletion src/test/ui/abi/extern/extern-pass-char.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// run-pass
// ignore-wasm32-bare no libc for ffi testing
// ignore-uefi no rust_test_helpers

// Test a function that takes/returns a u8.

Expand Down
1 change: 0 additions & 1 deletion src/test/ui/abi/extern/extern-pass-double.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// run-pass
// ignore-wasm32-bare no libc for ffi testing
// ignore-uefi no rust_test_helpers

#[link(name = "rust_test_helpers", kind = "static")]
extern "C" {
Expand Down
1 change: 0 additions & 1 deletion src/test/ui/abi/extern/extern-pass-empty.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
// pretty-expanded FIXME #23616
// ignore-msvc
// ignore-emscripten emcc asserts on an empty struct as an argument
// ignore-uefi no rust_test_helpers

#[repr(C)]
struct TwoU8s {
Expand Down
1 change: 0 additions & 1 deletion src/test/ui/abi/extern/extern-pass-u32.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// run-pass
// ignore-wasm32-bare no libc for ffi testing
// ignore-uefi no rust_test_helpers

// Test a function that takes/returns a u32.

Expand Down
1 change: 0 additions & 1 deletion src/test/ui/abi/extern/extern-pass-u64.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// run-pass
// ignore-wasm32-bare no libc for ffi testing
// ignore-uefi no rust_test_helpers

// Test a call to a function that takes/returns a u64.

Expand Down
1 change: 0 additions & 1 deletion src/test/ui/abi/extern/extern-return-TwoU16s.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
#![allow(improper_ctypes)]

// ignore-wasm32-bare no libc to test ffi with
// ignore-uefi no rust_test_helpers

pub struct TwoU16s {
one: u16,
Expand Down
1 change: 0 additions & 1 deletion src/test/ui/abi/extern/extern-return-TwoU32s.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
#![allow(improper_ctypes)]

// ignore-wasm32-bare no libc to test ffi with
// ignore-uefi no rust_test_helpers

pub struct TwoU32s {
one: u32,
Expand Down
1 change: 0 additions & 1 deletion src/test/ui/abi/extern/extern-return-TwoU64s.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
#![allow(improper_ctypes)]

// ignore-wasm32-bare no libc to test ffi with
// ignore-uefi no rust_test_helpers

pub struct TwoU64s {
one: u64,
Expand Down
1 change: 0 additions & 1 deletion src/test/ui/abi/extern/extern-return-TwoU8s.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
#![allow(improper_ctypes)]

// ignore-wasm32-bare no libc to test ffi with
// ignore-uefi no rust_test_helpers

pub struct TwoU8s {
one: u8,
Expand Down
1 change: 0 additions & 1 deletion src/test/ui/abi/foreign/foreign-call-no-runtime.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// run-pass
// ignore-emscripten no threads support
// ignore-uefi no threads support

#![feature(rustc_private)]

Expand Down
1 change: 0 additions & 1 deletion src/test/ui/abi/foreign/foreign-dupe.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// run-pass
// aux-build:foreign_lib.rs
// ignore-wasm32-bare no libc to test ffi with
// ignore-uefi no libc to test ffi with

// Check that we can still call duplicated extern (imported) functions
// which were declared in another crate. See issues #32740 and #32783.
Expand Down
1 change: 0 additions & 1 deletion src/test/ui/abi/foreign/foreign-fn-with-byval.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
#![allow(improper_ctypes)]

// ignore-wasm32-bare no libc to test ffi with
// ignore-uefi no rust_test_helpers

#[derive(Copy, Clone)]
pub struct S {
Expand Down
1 change: 0 additions & 1 deletion src/test/ui/abi/foreign/foreign-no-abi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
// ABI is cdecl by default

// ignore-wasm32-bare no libc to test ffi with
// ignore-uefi no libc to test ffi with
// pretty-expanded FIXME #23616

#![feature(rustc_private)]
Expand Down
1 change: 0 additions & 1 deletion src/test/ui/abi/foreign/invoke-external-foreign.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// run-pass
// aux-build:foreign_lib.rs
// ignore-wasm32-bare no libc to test ffi with
// ignore-uefi no libc to test ffi with

// The purpose of this test is to check that we can
// successfully (and safely) invoke external, cdecl
Expand Down
1 change: 0 additions & 1 deletion src/test/ui/abi/issue-28676.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
#![allow(improper_ctypes)]

// ignore-wasm32-bare no libc to test ffi with
// ignore-uefi no rust_test_helpers

#[derive(Copy, Clone)]
pub struct Quad {
Expand Down
1 change: 0 additions & 1 deletion src/test/ui/abi/issues/issue-62350-sysv-neg-reg-counts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
#![allow(improper_ctypes)]

// ignore-wasm32-bare no libc to test ffi with
// ignore-uefi no rust_test_helpers

#[derive(Copy, Clone)]
pub struct QuadFloats {
Expand Down
1 change: 0 additions & 1 deletion src/test/ui/abi/lib-defaults.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
// dont-check-compiler-stderr (rust-lang/rust#54222)

// ignore-wasm32-bare no libc to test ffi with
// ignore-uefi no rust_test_helpers

// compile-flags: -lrust_test_helpers

Expand Down
1 change: 0 additions & 1 deletion src/test/ui/abi/mir/mir_codegen_calls_variadic.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// run-pass
// ignore-wasm32-bare no libc to test ffi with
// ignore-uefi no rust_test_helpers

#[link(name = "rust_test_helpers", kind = "static")]
extern "C" {
Expand Down
1 change: 0 additions & 1 deletion src/test/ui/abi/numbers-arithmetic/i128-ffi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

// ignore-windows
// ignore-32bit
// ignore-uefi no rust_test_helpers

#[link(name = "rust_test_helpers", kind = "static")]
extern "C" {
Expand Down
1 change: 0 additions & 1 deletion src/test/ui/abi/segfault-no-out-of-stack.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
// ignore-emscripten can't run commands
// ignore-sgx no processes
// ignore-fuchsia must translate zircon signal to SIGSEGV/SIGBUS, FIXME (#58590)
// ignore-uefi no libc
#![feature(rustc_private)]

extern crate libc;
Expand Down
1 change: 0 additions & 1 deletion src/test/ui/abi/stack-probes-lto.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
// ignore-emscripten no processes
// ignore-sgx no processes
// ignore-musl FIXME #31506
// ignore-uefi no rust_test_helpers
// ignore-pretty
// ignore-fuchsia no exception handler registered for segfault
// compile-flags: -C lto
Expand Down
1 change: 0 additions & 1 deletion src/test/ui/abi/stack-probes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
// ignore-emscripten no processes
// ignore-sgx no processes
// ignore-fuchsia no exception handler registered for segfault
// ignore-uefi no rust_test_helpers

use std::env;
use std::mem::MaybeUninit;
Expand Down
1 change: 0 additions & 1 deletion src/test/ui/abi/statics/static-mut-foreign.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
// attempted.

// ignore-wasm32-bare no libc to test ffi with
// ignore-uefi no libc to test ffi with

#![feature(rustc_private)]

Expand Down
1 change: 0 additions & 1 deletion src/test/ui/abi/struct-enums/struct-return.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// run-pass
#![allow(dead_code)]
// ignore-wasm32-bare no libc to test ffi with
// ignore-uefi no rust_test_helpers

#[repr(C)]
#[derive(Copy, Clone)]
Expand Down
1 change: 0 additions & 1 deletion src/test/ui/abi/union/union-c-interop.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
#![allow(non_snake_case)]

// ignore-wasm32-bare no libc to test ffi with
// ignore-uefi no rust_test_helpers

#[derive(Clone, Copy)]
#[repr(C)]
Expand Down
1 change: 0 additions & 1 deletion src/test/ui/abi/variadic-ffi.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// run-pass
// ignore-wasm32-bare no libc to test ffi with
// ignore-uefi no rust_test_helpers
#![feature(c_variadic)]

use std::ffi::VaList;
Expand Down
1 change: 0 additions & 1 deletion src/test/ui/array-slice-vec/box-of-array-of-drop-1.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
// destructor.

// ignore-emscripten no threads support
// ignore-uefi no threads support

use std::thread;
use std::sync::atomic::{AtomicUsize, Ordering};
Expand Down
1 change: 0 additions & 1 deletion src/test/ui/array-slice-vec/box-of-array-of-drop-2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
// destructor.

// ignore-emscripten no threads support
// ignore-uefi no threads support

use std::thread;
use std::sync::atomic::{AtomicUsize, Ordering};
Expand Down
1 change: 0 additions & 1 deletion src/test/ui/array-slice-vec/nested-vec-3.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
#![allow(overflowing_literals)]

// ignore-emscripten no threads support
// ignore-uefi no threads support

// Test that using the `vec!` macro nested within itself works when
// the contents implement Drop and we hit a panic in the middle of
Expand Down
1 change: 0 additions & 1 deletion src/test/ui/array-slice-vec/slice-panic-1.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
// needs-unwind

// ignore-emscripten no threads support
// ignore-uefi no threads support

// Test that if a slicing expr[..] fails, the correct cleanups happen.

Expand Down
1 change: 0 additions & 1 deletion src/test/ui/array-slice-vec/slice-panic-2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
// needs-unwind

// ignore-emscripten no threads support
// ignore-uefi no threads support

// Test that if a slicing expr[..] fails, the correct cleanups happen.

Expand Down
1 change: 0 additions & 1 deletion src/test/ui/asm/may_unwind.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// run-pass
// needs-asm-support
// ignore-uefi no unwind

#![feature(asm_unwind)]

Expand Down
Loading