mirror of
https://github.com/MacosPorters/betterxen.git
synced 2026-11-27 05:12:50 +00:00
Add crates/ffi, a static library exposing a version 1 C interface with opaque generation-checked session handles, stable status codes and panic containment. It can create and destroy sessions and parse the bundled trusted PE fixture; no guest code runs. Add a minimal SwiftUI app (Swift Package Manager) that links it, and scripts/build-app.sh to build an ad-hoc signed, arm64-only Xenora.app and run its smoke check. Signed-off-by: Swastick Chowdhury <28708247+Swastickc@users.noreply.github.com>
17 lines
356 B
TOML
17 lines
356 B
TOML
[package]
|
|
name = "xenora-ffi"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
rust-version.workspace = true
|
|
description = "Versioned C interface between the native macOS application and the Xenora runtime"
|
|
|
|
[lib]
|
|
crate-type = ["staticlib", "rlib"]
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
xenora-loader = { path = "../loader" }
|