feat(deprecated) Remove Instance::load.

This method cannot be ported. Prevent the user to deal with errors by
simply removing it.
This commit is contained in:
Ivan Enderlin
2020-07-06 11:09:16 +02:00
parent 5f8286c68b
commit a8857db2b6
2 changed files with 0 additions and 5 deletions

View File

@@ -3,7 +3,6 @@ struct Instance {
}
impl Instance {
fn load<T>(&self, _loader: T) -> Result<Self, ()>;
fn fun<Args, Rets>(&self, name: &str) -> Result<Func<Args, Rets>, ExportError>;
fn resolve_func(&self, name: &str) -> Result<usize, ()>;
fn dyn_func(&self, name: &str) -> Result<DynFunc, ExportError>;