We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2141b0c commit 2a2ddd5Copy full SHA for 2a2ddd5
1 file changed
crates/wasm-smith/src/core.rs
@@ -1758,7 +1758,10 @@ impl Module {
1758
match ty.heap_type {
1759
HeapType::Abstract {
1760
ty: AbstractHeapType::Func,
1761
- ..
+ // TODO: handle shared; here we should pick as choices
1762
+ // only functions that match the sharedness of this
1763
+ // type.
1764
+ shared: false,
1765
} if num_funcs > 0 => {
1766
choices.push(Box::new(move |u, _| {
1767
let func = u.int_in_range(0..=num_funcs - 1)?;
0 commit comments