radix-lane
Translation status: हिन्दी reader-locale proof. Term names and code fences follow the hi pack; supporting prose may still be English.
Braced canonical @ radix lane routing record for the Rust HIR-direct lane.
Syntax: @ radix { लेन = \"hir-direct\" }
Category#
lane
Related#
- radix
- annotation-sugar
Examples#
radix/corpus/annotation-sugar/radix-lane-braced.fab (canonical · annotation)#
Braced canonical @ radix lane routing record for the Rust HIR-direct lane.
# =============================================================================
# radix-lane — Braced canonical @ radix लेन routing record for the Rust
# HIR-direct लेन.
# =============================================================================
#
# What this teaches:
# • Compiler लेन routing — `@ radix { लेन = "hir-direct" }` selects a
# specific backend compilation लेन
# • Braced annotation syntax — the key-value pair specifies the लेन
# identifier for the Radix compiler
#
# Common mistakes:
# • missing `@ annotatio` on a contract वर्ग, or specifying an invalid or unsupported compiler लेन name
#
# See also: radix, annotation-sugar
# =============================================================================
@ radix { लेन = "hir-direct" }
fn loss() → int {
return 1
}
main {
print loss()
}Expected output:
1