11 lines
200 B
Rust
11 lines
200 B
Rust
|
|
||
|
|
||
|
#[no_mangle]
|
||
|
pub extern "C" fn rust_sneakers_effect() {
|
||
|
println!("Rust sneakers effect");
|
||
|
use std::time::Duration;
|
||
|
|
||
|
let dur = Duration::from_millis(2000);
|
||
|
std::thread::sleep(dur);
|
||
|
}
|