Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,12 @@ fi

V3C=${V3C:=$(which v3c)}
if [ ! -x "$V3C" ]; then
echo "Virgil compiler (v3c) not found in \$PATH, and \$V3C not set"
exit 1
if [ "$VIRGIL_LOC" != "" ]; then
V3C=$(cd $VIRGIL_LOC && pwd)/bin/v3c
else
echo "Virgil compiler (v3c) not found in \$PATH, and neither \$V3C or \$VIRGIL_LOC is set"
exit 1
fi
fi

if [ "$VIRGIL_LIB" = "" ]; then
Expand Down
1 change: 1 addition & 0 deletions test/regress.failures
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
test/regress/ext:threads/atomic_wait32_0.bin.wast
test/regress/ext:threads/atomic_wait64_0.bin.wast
test/regress/ext:gc/unreach00.bin.wast
8 changes: 8 additions & 0 deletions test/regress/ext:gc/unreach00.bin.wast
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
(assert_invalid
(module binary
"\00\61\73\6d\01\00\00\00\01\84\80\80\80\00\01\60"
"\00\00\03\82\80\80\80\00\01\00\0a\8e\80\80\80\00"
"\01\88\80\80\80\00\01\01\7f\00\d4\21\00\0b"
)
"type mismatch"
)
11 changes: 11 additions & 0 deletions test/regress/ext:gc/unreach00.wast
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
(assert_invalid
(module
(func $invalid
(local $i32 i32)
(unreachable)
(ref.as_non_null)
(local.set $i32)
)
)
"type mismatch"
)
Loading