Skip to content

Commit

Permalink
fix: errors that occured while merging
Browse files Browse the repository at this point in the history
  • Loading branch information
TommYDeeee committed Nov 22, 2023
1 parent ed8fb43 commit 57c9ffd
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 18 deletions.
13 changes: 7 additions & 6 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 12 additions & 12 deletions yara-x/src/wasm/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -467,38 +467,38 @@ mod tests {
assert_eq!(
text,
r#"(module
(func (;118;) (type 1) (result i32)
(func (;120;) (type 1) (result i32)
i32.const 0
global.set 2
i32.const 0
global.set 3
call 119
call 120
call 121
call 122
global.get 3
)
(func (;119;) (type 0)
(func (;121;) (type 0)
block ;; label = @1
call 121
call 123
end
block ;; label = @1
call 122
call 124
end
)
(func (;120;) (type 0)
(func (;122;) (type 0)
block ;; label = @1
call 123
call 125
end
)
(func (;121;) (type 0)
(func (;123;) (type 0)
i32.const 4
)
(func (;122;) (type 0)
(func (;124;) (type 0)
i32.const 5
)
(func (;123;) (type 0)
(func (;125;) (type 0)
i32.const 6
)
(export "main" (func 118))
(export "main" (func 120))
)"#
);
}
Expand Down

0 comments on commit 57c9ffd

Please sign in to comment.