mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
433da1fc04
They pass fine.
10 lines
192 B
Rust
10 lines
192 B
Rust
#![crate_type = "proc-macro"]
|
|
|
|
extern crate an_rlib;
|
|
|
|
// This should not be exported
|
|
#[no_mangle]
|
|
extern "C" fn public_c_function_from_cdylib() {
|
|
an_rlib::public_c_function_from_rlib();
|
|
}
|