docs(joinir): Phase 86 SSOT 追記完了 + Phase 88 準備
Phase 86 SSOT 追記(P0 完了): - 10-Now.md: carrier_init_builder / error_tags 確立を追記 - CURRENT_TASK.md: P0→P1 繰り上げ、Done 節追加 Phase 88 準備: - nyash_kernel/lib.rs: AOT 実行器で Ring0Context 初期化 - nyash.toml: プラグインパス正規化(plugins/...) - auto_detect.conf: integration タイムアウト 120秒に延長 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
@ -686,6 +686,12 @@ pub extern "C" fn nyash_map_birth_h_export() -> i64 {
|
||||
#[cfg(not(test))]
|
||||
#[no_mangle]
|
||||
pub extern "C" fn main() -> i32 {
|
||||
// Phase 88: AOT 実行器でも Ring0Context は必須(PluginHost/ログなどが依存する)。
|
||||
// EXE 直起動では host 側の init が存在しないため、ここで先に初期化する。
|
||||
if nyash_rust::runtime::ring0::GLOBAL_RING0.get().is_none() {
|
||||
nyash_rust::runtime::ring0::init_global_ring0(nyash_rust::runtime::ring0::default_ring0());
|
||||
}
|
||||
|
||||
// Initialize plugin host: prefer nyash.toml next to the executable; fallback to CWD
|
||||
let exe_dir = std::env::current_exe()
|
||||
.ok()
|
||||
|
||||
Reference in New Issue
Block a user