Last active
November 2, 2015 22:36
-
-
Save iluxonchik/9c2d926bcf080a75829a to your computer and use it in GitHub Desktop.
Rust Hello World Lib
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[package] | |
name = "helloworldlib" | |
version = "0.1.0" | |
authors = ["ILUXONCHIK <iluxon4ik@hotmail.com>"] | |
[lib] | |
name = "helloworldlib" | |
crate-type = ["dylib"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#[no_mangle] | |
pub extern fn hello_from_rust() { | |
println!("Hello C#! This is Rust."); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment