050 lang unknown target refuses

✓ Passing Passing: the compiler rejects this program as expected.

Code

input.k

Actual compiler output

error[KORU126]: --lang='rust' names no emitter and no proc variant declared in this program
  emitters: zig, js
  declared variant tags: cs, js, raw_posix, zig
  `--lang=<tag>` selects which `~proc <tor>|<tag>` bodies get emitted — a tag nothing declares still compiles, under a name that selects nothing
  fix: pass one of the declared tags, or declare `~proc <tor>|rust { ... }` bodies for the target first

Frontend must reject with:

CONTAINS KORU126

Flows

flow ~print.ln click a branch to expand · @labels scroll to their anchor
print.ln (expr: "should not get here")

Test Configuration

MUST_ERROR

Compiler Flags:

--lang=rust