Skip to content

Commit 36ecbbd

Browse files
committed
aux_build the ui test
1 parent 7f94e0c commit 36ecbbd

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

tests/ui/external-crate-panic-handle-no-lint/app.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
//@ compile-flags: -Cpanic=abort --emit=obj
2+
//@ aux-build: panic.rs
23
//@ check-pass
34

45
// Defining a crate that provides panic handling as an external crate

tests/ui/external-crate-panic-handle-no-lint/panic.rs renamed to tests/ui/external-crate-panic-handle-no-lint/auxiliary/panic.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#![crate_type = "lib"]
2-
#![feature(panic_handler)]
32
#![no_std]
43

54
use core::panic::PanicInfo;

0 commit comments

Comments
 (0)