package wax-lib

  1. Overview
  2. Docs
Libraries for Wax, a Rust-like syntax for WebAssembly

Install

dune-project
 Dependency

Authors

Maintainers

Sources

wax-v0.2.0.tbz
sha256=4361e1324b7754a4c08ab5b505df32061f3ce0cea60443fd0d3699e0fa796b32
sha512=fcc756d2f160ba90a9aa1131f2ab22ed7f45466ccd658c21cf9df6868a6aab0cee7f404719d698a379958802f9820398f2fe0685ecc4dda018ca4f653294e39b

doc/wax-lib.wasm/Wax_wasm/Text_to_binary/index.html

Module Wax_wasm.Text_to_binarySource

Sourceexception Conditional_in_binary of Ast.location

Raised by module_ when the module still contains a conditional annotation ((@if ...) / #[if(...)]), which the binary format cannot represent. Carries the annotation's source location so the caller can report a located diagnostic. Resolve the conditionals (e.g. with -D/--define) or target a text format instead.

Sourceexception Unresolved_reference of Ast.location * string

Raised by module_ when a named index or label reference resolves to nothing (an undeclared identifier or an out-of-scope label). Carries the reference's location and a human-readable message, so the caller can report a located diagnostic rather than crash.