Detect unused variables

This commit is contained in:
nora 2024-05-13 20:02:08 +02:00
parent f164aad631
commit 9270f52e6b
33 changed files with 340 additions and 63 deletions

View file

@ -1,6 +1,7 @@
mod alloc;
function memcpy(dst: I32, src: I32, n: I32) =
// The function parameters are not actually unused.
function memcpy(_dst: I32, _src: I32, _n: I32) =
___asm(
__locals(),
"local.get 2",