✓
Passing This code compiles and runs correctly.
Code
// Pins that vendored source with NO lock is refused rather than trusted. An
// unpinned vendored tree is the failure this module exists to prevent: the code
// is in the repo, so it looks reviewed, and nothing can detect a later change to
// it. Absence of a pin is a refusal, not a default.
~import std/vendor
~std/vendor:bindings {
koru/vaxis: ./vendored/vaxis
}
~tor main {}
~proc main|zig {
}
~main()
Must fail at runtime:
Program must error when executed.
Flows
flow ~bindings click a branch to expand · @labels scroll to their anchor
bindings (source: koru/vaxis: ./vendored/vaxis)
flow ~main click a branch to expand · @labels scroll to their anchor
main
Test Configuration
Expected Error:
no vendor.lock — vendored source is unpinned