Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.brim-lang.com/llms.txt

Use this file to discover all available pages before exploring further.

Codegen diagnostics

  • Total in this phase: 12
  • Errors: 11 | Warnings: 1 | Bugs: 0
  • Prefix: /diagnostics/<code>
  • Common tags: abi, asm, codegen, ffi, layout, link, lint, lto

Common fixes in this phase

  • adjust rustc/cc flags analogue
  • avoid accidental clones
  • disable thin LTO
  • export symbol from crate
  • fallback scalar paths

Codes

  • E6000 - codegen failure (Error)
  • E6001 - unsupported target feature (Error)
  • E6002 - inline assembly constraint error (Error)
  • E6003 - linker undefined symbol (Error)
  • E6004 - duplicate symbol at link (Error)
  • E6005 - section alignment conflict (Error)
  • E6006 - PIE vs static relocation clash (Error)
  • E6007 - LTO mismatch (Error)
  • E6008 - debug vs release ABI clash (Error)
  • E6009 - wasm validation failure (Error)
  • E6010 - machine code emission overflow (Error)
  • W1014 - performance pessimization (Warning)
1 diagnostics currently have no explicit guidance text. Back to Diagnostics index. Canonical phase route: /diagnostics/phases/codegen