silk.build.host.
The compiler's side of a described build graph: restore it, run it and answer what it made.
Import as Host with import silk.build.host as Host.
Public declarations: 2.
Served#
pub struct ServedWhat serving a described graph answers to the compiler's command line.
Field status#
pub status: i32The process status: 0 once an outcome is written, even one that reports a failure.
Field artifacts#
pub artifacts: List<String>The artifacts the graph compiled and published.
serve#
pub effect fn serve(description: &Path, outcome: &Path) -> Served
! OutOfMemoryError
? &mut Allocator | &mut FileSystem | &mut HostInputRuns the graph described in the file description and writes its outcome to outcome.
Profiles: aarch64-apple-darwin, aarch64-unknown-linux-gnu, aarch64-unknown-linux-gnu-no-libc, x86_64-unknown-linux-gnu, x86_64-unknown-linux-gnu-no-libc, wasm32-unknown-unknown, wasm32-wasip1, wasm32-wasip2, x86_64-pc-windows-msvc, wasm64-unknown-unknown.