Files
rust/tests/run-make/export/extern-opt/libr.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

6 lines
114 B
Rust
Raw Normal View History

#![feature(export_stable)]
#![crate_type = "sdylib"]
#[export_stable]
pub extern "C" fn foo(x: i32) -> i32 { x }