Skip to content
Myr

Drop #[lang = "eh_personality"] from no-std test

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by David Tolnay · committed by David Tolnay · parent 8478a3b · Browse files · 2 files+6 added−6 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+6 added−6 removed

  • other:+6 added−6 removed

2 files+6 added−6 removed

modified:test_suite/no_std/src/main.rs-6 removed
1#![allow(internal_features)]2#![feature(lang_items)]1#![no_std]2#![no_main]34use core::ffi::c_int;
2 unmodified lines
7extern "C" fn main(_argc: c_int, _argv: *const *const u8) -> c_int {8 09}1013#[lang = "eh_personality"]14#[no_mangle]15pub extern "C" fn rust_eh_personality() {}1611#[panic_handler]12fn panic(_info: &core::panic::PanicInfo) -> ! {13 unsafe {14 libc::abort();
28 unmodified lines
modified:test_suite/no_std/Cargo.toml+6 added