22 lines
1.0 KiB
TOML
22 lines
1.0 KiB
TOML
[package]
|
|
name = "rpgrt"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
# ─────────────────────────────────────────────────────────────────────────────
|
|
# Build as a C-compatible shared library (librpgrt.so) so that RPG IV programs
|
|
# compiled by rust-langrpg can link against it at runtime.
|
|
# ─────────────────────────────────────────────────────────────────────────────
|
|
|
|
[lib]
|
|
name = "rpgrt"
|
|
path = "src/lib.rs"
|
|
crate-type = ["cdylib", "rlib"]
|
|
|
|
# cdylib → produces librpgrt.so (loaded by compiled RPG binaries)
|
|
# rlib → allows `cargo test` to run the unit tests in src/lib.rs
|
|
|
|
[dependencies]
|
|
# No external dependencies — the runtime is intentionally minimal and relies
|
|
# only on the Rust standard library and libc (linked automatically).
|