Skip to main content

validate_memory_semantics

Function validate_memory_semantics 

pub fn validate_memory_semantics(
    memory: &MemoryConfig,
) -> Vec<ValidationWarning>
Expand description

Surface [memory] knobs that the schema accepts but that have no runtime consumer yet, so an operator who sets them learns they currently have no effect instead of debugging missing behavior (same class of check as the wire_api_not_supported_for_family warning).

A PR that wires a consumer for one of these knobs must drop its check here in the same change; this list mirrors what is inert on the current tree, not what is planned.

Called from Config::collect_warnings, so each warning reaches both the CLI (via validate()’s tracing emission) and the gateway dashboard.