23 lines
717 B
Plaintext
23 lines
717 B
Plaintext
:sig
|
|
bool unit_compile(String path = "")
|
|
|
|
:params
|
|
path : optional UCE unit path. If empty, recompiles the current executing unit.
|
|
return value : `true` when the host compiler accepted and compiled the unit
|
|
|
|
:see
|
|
>runtime
|
|
unit_info
|
|
units_list
|
|
unit_call
|
|
|
|
:content
|
|
Triggers a manual recompile of a UCE compilation unit through the host membrane.
|
|
|
|
If `path` is relative, it is resolved by the host unit resolver. The function returns whether compilation succeeded; it does not return or expose a native `SharedUnit*` to wasm units.
|
|
|
|
Related:
|
|
|
|
- PHP: template compilation or preloading steps that generate cached PHP artifacts
|
|
- JavaScript / Node.js: build-step compilation, bundling, or ahead-of-time template transforms
|