rsrv init

This commit is contained in:
mii
2023-06-30 01:51:50 +00:00
commit 9ca131ea34
6 changed files with 35 additions and 0 deletions

3
.gitmodules vendored Normal file
View File

@ -0,0 +1,3 @@
[submodule "rv"]
path = rv
url = https://github.com/mnurzia/rv

16
Cargo.lock generated Normal file
View File

@ -0,0 +1,16 @@
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
version = 3
[[package]]
name = "cc"
version = "1.0.79"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "50d30906286121d95be3d479533b458f87493b30a4b5f79a607db8f5d11aa91f"
[[package]]
name = "rsrv"
version = "0.1.0"
dependencies = [
"cc",
]

9
Cargo.toml Normal file
View File

@ -0,0 +1,9 @@
[package]
name = "rsrv"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[build-dependencies]
cc = "1.0"

3
build.rs Normal file
View File

@ -0,0 +1,3 @@
fn main() {
cc::Build::new().file("rv/rv.c").compile("rv");
}

1
rv Submodule

Submodule rv added at 7ac72cb68c

3
src/main.rs Normal file
View File

@ -0,0 +1,3 @@
fn main() {
println!("Hello, world!");
}