mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-28 01:34:21 +00:00
f19c48e7a8
Fixes cross-language LTO on RISC-V targets (Fixes #121924)
10 lines
140 B
Rust
10 lines
140 B
Rust
#![allow(internal_features)]
|
|
#![feature(no_core, lang_items)]
|
|
#![no_core]
|
|
|
|
#[lang = "sized"]
|
|
trait Sized {}
|
|
|
|
#[no_mangle]
|
|
pub fn hello() {}
|