Turn ZJIT into staticlib
This commit is contained in:
parent
82606faaea
commit
a65b79c653
Notes:
git
2025-04-18 13:49:58 +00:00
2
zjit/Cargo.lock
generated
2
zjit/Cargo.lock
generated
@ -4,4 +4,4 @@ version = 3
|
||||
|
||||
[[package]]
|
||||
name = "zjit"
|
||||
version = "0.1.0"
|
||||
version = "0.0.0"
|
||||
|
@ -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
3
zjit/src/lib.rs
Normal file
@ -0,0 +1,3 @@
|
||||
extern "C" fn zjit_init() {
|
||||
println!("zjit_init");
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user