Files
hakorune/tools/plugin-tester/Cargo.toml
Moe Charm c6c3c8e2f9 fix(bid-ffi): Fix HostVtable lifetime issue causing segfault
🚨 Critical memory safety fix:
- HostVtable was created on stack and destroyed after init
- Plugin stored reference to destroyed memory → NULL pointer access
- Changed to static LazyLock storage for lifetime safety

 Results:
- Segfault completely eliminated
- Plugin logging now works properly
- Type info system confirmed working
- Full E2E FileBox plugin operation successful

🔧 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-18 14:10:41 +09:00

11 lines
228 B
TOML

[package]
name = "plugin-tester"
version = "0.1.0"
edition = "2021"
[dependencies]
libloading = "0.8"
clap = { version = "4", features = ["derive"] }
colored = "2"
serde = { version = "1.0", features = ["derive"] }
toml = "0.8"