Skip to main content

committed_surface

Macro committed_surface 

Source
committed_surface!() { /* proc-macro */ }
Expand description

The app’s compiled surface, the file tilolang surface --write writes beside its authored surface.toml: Option<&'static str>, Some when it has a surface.json at its root, else None.

The value is the canonical compiled form, the one form the system commits, addresses and sends, so the shell’s built-in apps and the web desktop read their surfaces without a TOML parser. A file that is not the canonical compiled form fails the build, where such a process would otherwise find that the surface declares nothing.