Merge pull request #20 from dflemstr/unsupported-exports

Don't panic on unsupported exports
This commit is contained in:
Alex Crichton 2018-02-12 16:59:53 -06:00 committed by GitHub
commit 20bcc83b96
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
}
};