Skip to content
This repository was archived by the owner on Mar 24, 2022. It is now read-only.

Commit fde62fa

Browse files
awortman-fastlyiximeow
authored andcommitted
get tests building and running
1 parent 40b9790 commit fde62fa

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

  • lucet-runtime/lucet-runtime-internals/src/context

lucet-runtime/lucet-runtime-internals/src/context/mod.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,7 @@ impl Context {
304304
/// &mut child,
305305
/// entrypoint as usize,
306306
/// &[Val::U64(120), Val::F32(3.14)],
307+
/// std::ptr::null_mut(),
307308
/// );
308309
/// assert!(res.is_ok());
309310
/// ```
@@ -327,6 +328,7 @@ impl Context {
327328
/// &mut child,
328329
/// entrypoint as usize,
329330
/// &[Val::U64(120), Val::F32(3.14)],
331+
/// std::ptr::null_mut(),
330332
/// );
331333
/// assert!(res.is_ok());
332334
/// ```
@@ -561,6 +563,7 @@ impl Context {
561563
/// &mut child,
562564
/// entrypoint as usize,
563565
/// &[],
566+
/// std::ptr::null_mut(),
564567
/// ).unwrap();
565568
///
566569
/// unsafe { Context::swap(&mut parent, &mut child); }

0 commit comments

Comments
 (0)