JoinIR/SSA/Stage-3: sync CURRENT_TASK and dev env

This commit is contained in:
nyash-codex
2025-12-01 11:10:46 +09:00
parent a3d5bacc55
commit 8633224061
52 changed files with 974 additions and 256 deletions

View File

@ -197,6 +197,16 @@ pub(crate) fn execute_file_with_backend(runner: &NyashRunner, filename: &str) {
}
// Backend selection
if std::env::var("NYASH_EMIT_MIR_TRACE")
.ok()
.as_deref()
== Some("1")
{
eprintln!(
"[dispatch] backend={} file={} path=backend-select",
groups.backend.backend, filename
);
}
match groups.backend.backend.as_str() {
"mir" => {
crate::cli_v!(