🚨 fix: フィールド差し替え時の危険な自動fini呼び出しを発見
現在の問題: - me.field = newValue で古いfieldのfiniが自動で呼ばれる - 共有参照を破壊する可能性(複数から参照されている場合) - GC的な「おせっかい」でNyashの明示的哲学に反する 次の修正予定: - フィールド差し替え:fini呼ばない(プログラマー責任) - スコープ離脱時:fini呼ぶ(自然なリソース管理) - Everything is Explicit の哲学を貫く 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@ -11,13 +11,15 @@ categories = ["development-tools::parsing", "interpreters"]
|
||||
|
||||
# Default features - minimal CLI only
|
||||
[features]
|
||||
default = ["cli"]
|
||||
default = ["cli", "plugins"]
|
||||
cli = []
|
||||
gui = ["dep:egui", "dep:eframe", "dep:egui_extras", "dep:image"]
|
||||
gui-examples = ["gui"]
|
||||
all-examples = ["gui-examples"]
|
||||
dynamic-file = []
|
||||
wasm-backend = ["dep:wasmtime", "dep:wabt"]
|
||||
# プラグイン機構の有効化(ネイティブ環境のみ推奨)
|
||||
plugins = ["dep:libloading"]
|
||||
# Note: LLVM feature requires inkwell dependency and LLVM development libraries
|
||||
# llvm = ["dep:inkwell"]
|
||||
|
||||
@ -104,7 +106,7 @@ once_cell = "1.20"
|
||||
# デバッグ・ログ
|
||||
log = "0.4"
|
||||
env_logger = "0.11"
|
||||
libloading = "0.8"
|
||||
libloading = { version = "0.8", optional = true }
|
||||
toml = "0.8"
|
||||
|
||||
# 日時処理
|
||||
|
||||
Reference in New Issue
Block a user