mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-03-16 02:00:51 +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
|
||||
}
|
||||
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