🚨 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>
11 lines
228 B
TOML
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" |