We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 34fe4d5 commit cfbad5eCopy full SHA for cfbad5e
crates/wasm-smith/src/core.rs
@@ -1107,6 +1107,8 @@ impl Module {
1107
// shared type, though, we can use either a shared or unshared
1108
// concrete type.
1109
if let Some(ty) = self.types.get(idx as usize) {
1110
+ // TODO: in the future, once we can easily query a list of
1111
+ // existing shared types, remove this extra check.
1112
if !(self.must_share && !ty.composite_type.shared) {
1113
return Ok(HeapType::Concrete(idx));
1114
}
0 commit comments