pub fn wasm_validation_features() -> WasmFeaturesExpand description
The wasmparser feature set every module the compiler emits is checked
against: GC + function-references + exceptions, on top of the defaults.
The single source of truth for that set — validate_module (every
Compiler::compile* call) and the codegen integration tests’
validate_wasm (tests/codegen/common.rs, which cannot see this
module’s private items and so calls this pub fn instead) both route
through it, rather than each keeping their own copy of the same feature
list to drift apart (ADR-0034 / plan 0011 Phase 0).