docs(wit): document capability and component contracts
This commit is contained in:
@@ -1,4 +1,11 @@
|
||||
//! CPU-bound fixture used to verify fuel and epoch deadline interruption.
|
||||
//!
|
||||
//! The input's first eight bytes select a little-endian iteration count.
|
||||
//! Initializing with `spin` intentionally runs without a finite loop bound.
|
||||
//! This crate is a Runtime test fixture, not an application service.
|
||||
|
||||
mod bindings {
|
||||
// Compile the base service WIT contract into guest and export adapters.
|
||||
wit_bindgen::generate!({
|
||||
path: "wit",
|
||||
world: "spin-component",
|
||||
|
||||
Reference in New Issue
Block a user