docs: AOT/ネイティブコンパイル情報をexecution-backends.mdに追加
- 4つ目の実行方式としてAOT(Ahead-of-Time)コンパイルを文書化 - MIR→WASM→.cwasm のコンパイルパイプラインを説明 - wasm-backend featureでのビルド方法を明記 - 現在の実装状況(完全なスタンドアロン実行ファイルはTODO)を記載 - CLAUDE.mdのWASM説明も3種類(Rust→WASM、Nyash→WASM、Nyash→AOT)に更新 - CURRENT_TASK.mdにPhase 10.9/10.10の完了項目を追加 ChatGPT5さんのAOT試行に対応した適切なドキュメント配置を実施 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@ -89,6 +89,14 @@ impl JitEngine {
|
||||
}
|
||||
}
|
||||
}
|
||||
// If lowering left any unsupported instructions, do not register a closure.
|
||||
// This preserves VM semantics until coverage is complete for the function.
|
||||
if lower.unsupported > 0 {
|
||||
if std::env::var("NYASH_JIT_STATS").ok().as_deref() == Some("1") || cfg_now.dump {
|
||||
eprintln!("[JIT] skip compile for {}: unsupported={} (>0)", func_name, lower.unsupported);
|
||||
}
|
||||
return None;
|
||||
}
|
||||
// Create a handle and register an executable closure if available
|
||||
#[cfg(feature = "cranelift-jit")]
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user