mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-03-16 02:00:51 +00:00
Don't panic on unsupported exports
It's most likely safe for us to skip exports that we don't yet support. Doing nothing will at least not hurt in those cases.
This commit is contained in:
parent
f3c0fc369a
commit
c0f2773c4e
@ -57,10 +57,10 @@ impl Output {
|
||||
continue
|
||||
}
|
||||
Internal::Table(_) => {
|
||||
panic!("wasm exports a table which isn't supported yet");
|
||||
continue
|
||||
}
|
||||
Internal::Global(_) => {
|
||||
panic!("wasm exports globals which aren't supported yet");
|
||||
continue
|
||||
}
|
||||
};
|
||||
|
||||
@ -145,10 +145,10 @@ impl Output {
|
||||
continue
|
||||
}
|
||||
Internal::Table(_) => {
|
||||
panic!("wasm exports a table which isn't supported yet");
|
||||
continue
|
||||
}
|
||||
Internal::Global(_) => {
|
||||
panic!("wasm exports globals which aren't supported yet");
|
||||
continue
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user