This repository was archived by the owner on Mar 24, 2022. It is now read-only.
File tree 5 files changed +17
-2
lines changed
lucet-runtime/lucet-runtime-tests/src
5 files changed +17
-2
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ cleanup() {
10
10
}
11
11
trap cleanup 1 2 3 6 15
12
12
13
- RUSTFMT_VERSION=1.4.9 -stable
13
+ RUSTFMT_VERSION=1.4.11 -stable
14
14
15
15
if ! rustfmt --version | grep -q " rustfmt $RUSTFMT_VERSION " ; then
16
16
echo " indent requires rustfmt $RUSTFMT_VERSION "
Original file line number Diff line number Diff line change @@ -7,6 +7,11 @@ macro_rules! memory_tests {
7
7
use $TestRegion as TestRegion ;
8
8
use $crate:: build:: test_module_wasm;
9
9
10
+ #[ test]
11
+ fn ensure_linked( ) {
12
+ lucet_runtime:: lucet_internal_ensure_linked( ) ;
13
+ }
14
+
10
15
#[ test]
11
16
fn current_memory_hostcall( ) {
12
17
let module = test_module_wasm( "memory" , "current_memory.wat" )
Original file line number Diff line number Diff line change @@ -121,6 +121,11 @@ macro_rules! stack_tests {
121
121
}
122
122
}
123
123
124
+ #[ test]
125
+ fn ensure_linked( ) {
126
+ lucet_runtime:: lucet_internal_ensure_linked( ) ;
127
+ }
128
+
124
129
#[ test]
125
130
fn expect_ok_locals3_1( ) {
126
131
expect_ok( stack_testcase( 3 ) . expect( "generate stack_testcase 3" ) , 1 ) ;
Original file line number Diff line number Diff line change @@ -6,6 +6,11 @@ macro_rules! start_tests {
6
6
use $TestRegion as TestRegion ;
7
7
use $crate:: build:: test_module_wasm;
8
8
9
+ #[ test]
10
+ fn ensure_linked( ) {
11
+ lucet_runtime:: lucet_internal_ensure_linked( ) ;
12
+ }
13
+
9
14
#[ test]
10
15
fn global_init( ) {
11
16
let module =
Original file line number Diff line number Diff line change 1
- 1.40 .0
1
+ 1.42 .0
You can’t perform that action at this time.
0 commit comments