mirror of
https://github.com/fluencelabs/wasmer
synced 2025-06-28 16:11:32 +00:00
fix(clif-backend) Module::new
does not use its argument.
The `Module::new` method requires an argument (`wasm: &[u8]`) that is never used. This patch removes the argument, and updates the code accordingly.
This commit is contained in:
@ -25,7 +25,7 @@ pub struct Module {
|
||||
}
|
||||
|
||||
impl Module {
|
||||
pub fn new(wasm: &[u8]) -> Self {
|
||||
pub fn new() -> Self {
|
||||
Self {
|
||||
info: ModuleInfo {
|
||||
memories: Map::new(),
|
||||
|
Reference in New Issue
Block a user