11 lines
222 B
Rust
11 lines
222 B
Rust
use std;
|
|
import sys;
|
|
|
|
// The purpose of this test is to check that we can
|
|
// successfully (and safely) invoke external, cdecl
|
|
// functions from outside the crate.
|
|
|
|
fn main() {
|
|
let foo = sys::rustrt::last_os_error();
|
|
}
|