Skip to main content

CAPABILITY_ANNOTATIONS

Constant CAPABILITY_ANNOTATIONS 

Source
pub const CAPABILITY_ANNOTATIONS: &[(&str, Capability)];
Expand description

The host-authored capability annotation, one row per WIT interface.

A test asserts this covers EVERY parsed interface, so adding a WIT interface without a deliberate capability decision fails the build’s test gate. Most seams are pure data/dispatch (None). Three reach the OS: host-services (Fs — its walk), project (Fs — resolution walks on a cache miss), and plugin-manager (Proc — the host builds what the guest declared; see the row’s own comment for why one variant cannot describe it).