mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-07 00:06:24 +03:00
Remove unused struct fields
This commit is contained in:
parent
8c91c5c575
commit
5ec828a3e2
@ -268,8 +268,6 @@ impl WasiCtxAlloc {
|
||||
/// Represents a WebAssembly plugin, with access to the WebAssembly System Inferface.
|
||||
/// Build a new plugin using [`PluginBuilder`].
|
||||
pub struct Plugin {
|
||||
engine: Engine,
|
||||
module: Module,
|
||||
store: Store<WasiCtxAlloc>,
|
||||
instance: Instance,
|
||||
}
|
||||
@ -293,9 +291,7 @@ impl Plugin {
|
||||
}
|
||||
println!();
|
||||
}
|
||||
}
|
||||
|
||||
impl Plugin {
|
||||
async fn init(
|
||||
precompiled: bool,
|
||||
module: Vec<u8>,
|
||||
@ -335,12 +331,7 @@ impl Plugin {
|
||||
free_buffer,
|
||||
});
|
||||
|
||||
Ok(Plugin {
|
||||
engine,
|
||||
module,
|
||||
store,
|
||||
instance,
|
||||
})
|
||||
Ok(Plugin { store, instance })
|
||||
}
|
||||
|
||||
/// Attaches a file or directory the the given system path to the runtime.
|
||||
|
Loading…
Reference in New Issue
Block a user