mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-04-02 10:21:07 +00:00
Merge pull request #20 from dflemstr/unsupported-exports
Don't panic on unsupported exports
This commit is contained in:
commit
20bcc83b96
@ -57,10 +57,10 @@ impl Output {
|
|||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
Internal::Table(_) => {
|
Internal::Table(_) => {
|
||||||
panic!("wasm exports a table which isn't supported yet");
|
continue
|
||||||
}
|
}
|
||||||
Internal::Global(_) => {
|
Internal::Global(_) => {
|
||||||
panic!("wasm exports globals which aren't supported yet");
|
continue
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -145,10 +145,10 @@ impl Output {
|
|||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
Internal::Table(_) => {
|
Internal::Table(_) => {
|
||||||
panic!("wasm exports a table which isn't supported yet");
|
continue
|
||||||
}
|
}
|
||||||
Internal::Global(_) => {
|
Internal::Global(_) => {
|
||||||
panic!("wasm exports globals which aren't supported yet");
|
continue
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user