Upstream change to the proposal: https://github.com/WebAssembly/component-model/pull/338 We should be validating this in `Package::from_file` and `Package::from_bytes` too.