build: initial commit

This commit is contained in:
əlemi 2023-04-02 22:39:02 +02:00
commit 6d15ef3ba4
Signed by: alemi
GPG key ID: A4895B84D311642C
5 changed files with 38 additions and 0 deletions

10
.editorconfig Normal file
View file

@ -0,0 +1,10 @@
# Default to Unix-style newlines with a newline ending every file
[*]
end_of_line = lf
insert_final_newline = true
charset = utf-8
indent_style = tab
indent_size = 4
[*.rs]
indent_size = 2

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
/target

1
.rustfmt.toml Normal file
View file

@ -0,0 +1 @@
hard_tabs = true

16
Cargo.toml Normal file
View file

@ -0,0 +1,16 @@
[package]
name = "cordy"
version = "0.1.0"
edition = "2021"
[lib]
name = "cordy"
crate-type = ["cdylib"]
path = "src/lib.rs"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
ctor = "0.1.26"
tracing = "0.1.37"
pox = { git = "ssh://git@git.fantabos.co/srv/git/pox", branch = "dev", features = ["monitor"] }

10
src/lib.rs Normal file
View file

@ -0,0 +1,10 @@
static mut RUNTIME :
#[ctor::ctor]
fn contructor() {
}
#[ctor::dtor]
fn destructor() {}