rust/tests/run-make/std-core-cycle/foo.rs

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

12 lines
164 B
Rust
Raw Normal View History

#![crate_type = "cdylib"]
extern crate bar;
#[global_allocator]
static A: bar::A = bar::A;
#[no_mangle]
pub extern "C" fn a(a: u32, b: u32) -> u32 {
a / b
}