From 0be3cc82345b22c898fb46a93e69fa7b1f6c710f Mon Sep 17 00:00:00 2001 From: Florian Bartels Date: Fri, 23 Sep 2022 09:41:12 +0200 Subject: [PATCH] ignore test cases when checking emscripten --- src/test/ui/extern-flag/empty-extern-arg.rs | 1 + src/test/ui/panic-handler/weak-lang-item.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/src/test/ui/extern-flag/empty-extern-arg.rs b/src/test/ui/extern-flag/empty-extern-arg.rs index a371afb128cab..2f4ae7d8e70fa 100644 --- a/src/test/ui/extern-flag/empty-extern-arg.rs +++ b/src/test/ui/extern-flag/empty-extern-arg.rs @@ -1,5 +1,6 @@ // compile-flags: --extern std= // error-pattern: extern location for std does not exist // needs-unwind since it affects the error output +// ignore-emscripten missing eh_catch_typeinfo lang item fn main() {} diff --git a/src/test/ui/panic-handler/weak-lang-item.rs b/src/test/ui/panic-handler/weak-lang-item.rs index aef5e1b2c1c7a..14a07a9ef1b55 100644 --- a/src/test/ui/panic-handler/weak-lang-item.rs +++ b/src/test/ui/panic-handler/weak-lang-item.rs @@ -2,6 +2,7 @@ // error-pattern: `#[panic_handler]` function required, but not found // error-pattern: language item required, but not found: `eh_personality` // needs-unwind since it affects the error output +// ignore-emscripten missing eh_catch_typeinfo lang item #![no_std]