silk.build.standard.

Materializes immutable standard action descriptions through the ordinary step interface.

Import as Standard with import silk.build.standard as Standard.

Public declarations: 3.

register#

silk
pub effect fn register(action: &Action) -> StepHandle ! StepFailure ? &mut Allocator

Registers a standard action without executing it or reading its inputs.

restore#

silk
pub effect fn restore(kind: string, step: &[u8]) -> StepHandle
  ! StepFailure
  ? &mut Allocator | &mut FileSystem

Restores a described standard step by its kind as a step this process can run.

silk
pub effect fn restoreLinks(links: &[Link]) -> ()
  ! StepFailure
  ? &mut Allocator | &mut FileSystem

Restores every step of a description in this process, so a runner here can run them.

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.

View the source of this page