This repository was archived by the owner on Mar 24, 2022. It is now read-only.
File tree Expand file tree Collapse file tree
lucet-runtime/lucet-runtime-internals/src/context Expand file tree Collapse file tree Original file line number Diff line number Diff 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); }
You can’t perform that action at this time.
0 commit comments