Turn ZJIT into staticlib

This commit is contained in:
Alan Wu 2025-02-06 10:32:19 -05:00 committed by Takashi Kokubun
parent 82606faaea
commit a65b79c653
Notes: git 2025-04-18 13:49:58 +00:00
3 changed files with 11 additions and 3 deletions

2
zjit/Cargo.lock generated
View File

@ -4,4 +4,4 @@ version = 3
[[package]]
name = "zjit"
version = "0.1.0"
version = "0.0.0"

View File

@ -1,6 +1,11 @@
[package]
name = "zjit"
version = "0.1.0"
edition = "2021"
version = "0.0.0"
edition = "2021" # Rust 2021 edition to compile with
rust-version = "1.58.0" # Minimally supported rust version
publish = false # Don't publish to crates.io
[lib]
crate-type = ["staticlib"]
[dependencies]

3
zjit/src/lib.rs Normal file
View File

@ -0,0 +1,3 @@
extern "C" fn zjit_init() {
println!("zjit_init");
}