mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 14:55:26 +00:00
18 lines
356 B
Rust
18 lines
356 B
Rust
//@ no-prefer-dynamic
|
|
//@ compile-flags: -Cmetadata=aux
|
|
#![crate_type = "rlib"]
|
|
#![doc(html_root_url = "http://example.com/")]
|
|
#![feature(rustc_attrs)]
|
|
#![feature(lang_items)]
|
|
#![no_std]
|
|
|
|
#[lang = "eh_personality"]
|
|
fn foo() {}
|
|
|
|
#[panic_handler]
|
|
fn bar(_: &core::panic::PanicInfo) -> ! { loop {} }
|
|
|
|
/// dox
|
|
#[rustc_doc_primitive = "pointer"]
|
|
pub mod ptr {}
|