Vendor CMakeRust

This commit is contained in:
Dathan Bennett
2023-04-26 22:23:33 -07:00
committed by Dustin J. Mitchell
parent 37d7f3de8a
commit 7492fc48bb
28 changed files with 673 additions and 1 deletions

View File

@@ -0,0 +1 @@
target/

View File

@@ -0,0 +1 @@
cargo_build(NAME test-lib)

View File

@@ -0,0 +1,4 @@
[[package]]
name = "test-lib"
version = "0.1.0"

View File

@@ -0,0 +1,9 @@
[package]
name = "test-lib"
version = "0.1.0"
authors = ["Marc-André Moreau <marcandre.moreau@gmail.com>"]
[lib]
crate-type = ["staticlib"]
[dependencies]

View File

@@ -0,0 +1,5 @@
#[no_mangle]
pub extern "C" fn hello() {
println!("hello world!");
}