@@ -244,7 +244,7 @@ impl ContextInternal {
244244 } ;
245245 let _ = inner_lock. vm . sys_write_output (
246246 NonEmptyValue :: Failure ( err. into ( ) ) ,
247- PayloadOptions :: stable_serialization ( ) ,
247+ PayloadOptions :: default ( ) ,
248248 ) ;
249249 let _ = inner_lock. vm . sys_end ( ) ;
250250 // This causes the trap, plus logs the error
@@ -268,7 +268,7 @@ impl ContextInternal {
268268 inner_lock,
269269 inner_lock
270270 . vm
271- . sys_state_get( key. to_owned( ) , PayloadOptions :: stable_serialization ( ) )
271+ . sys_state_get( key. to_owned( ) , PayloadOptions :: default ( ) )
272272 ) ;
273273 inner_lock. maybe_flip_span_replaying_field ( ) ;
274274
@@ -314,11 +314,9 @@ impl ContextInternal {
314314 let mut inner_lock = must_lock ! ( self . inner) ;
315315 match t. serialize ( ) {
316316 Ok ( b) => {
317- let _ = inner_lock. vm . sys_state_set (
318- key. to_owned ( ) ,
319- b,
320- PayloadOptions :: stable_serialization ( ) ,
321- ) ;
317+ let _ = inner_lock
318+ . vm
319+ . sys_state_set ( key. to_owned ( ) , b, PayloadOptions :: default ( ) ) ;
322320 inner_lock. maybe_flip_span_replaying_field ( ) ;
323321 }
324322 Err ( e) => {
@@ -411,7 +409,7 @@ impl ContextInternal {
411409 . and_then ( |input| {
412410 inner_lock
413411 . vm
414- . sys_call ( target, input, None , PayloadOptions :: stable_serialization ( ) )
412+ . sys_call ( target, input, None , PayloadOptions :: default ( ) )
415413 . map_err ( Into :: into)
416414 } ) ;
417415
@@ -510,7 +508,7 @@ impl ContextInternal {
510508 + delay
511509 } ) ,
512510 None ,
513- PayloadOptions :: stable_serialization ( ) ,
511+ PayloadOptions :: default ( ) ,
514512 ) {
515513 Ok ( h) => h,
516514 Err ( e) => {
@@ -606,7 +604,7 @@ impl ContextInternal {
606604 let _ = inner_lock. vm . sys_complete_awakeable (
607605 id. to_owned ( ) ,
608606 NonEmptyValue :: Success ( b) ,
609- PayloadOptions :: stable_serialization ( ) ,
607+ PayloadOptions :: default ( ) ,
610608 ) ;
611609 }
612610 Err ( e) => {
@@ -619,7 +617,7 @@ impl ContextInternal {
619617 let _ = must_lock ! ( self . inner) . vm . sys_complete_awakeable (
620618 id. to_owned ( ) ,
621619 NonEmptyValue :: Failure ( failure. into ( ) ) ,
622- PayloadOptions :: stable_serialization ( ) ,
620+ PayloadOptions :: default ( ) ,
623621 ) ;
624622 }
625623
@@ -688,7 +686,7 @@ impl ContextInternal {
688686 let _ = inner_lock. vm . sys_complete_promise (
689687 name. to_owned ( ) ,
690688 NonEmptyValue :: Success ( b) ,
691- PayloadOptions :: stable_serialization ( ) ,
689+ PayloadOptions :: default ( ) ,
692690 ) ;
693691 }
694692 Err ( e) => {
@@ -707,7 +705,7 @@ impl ContextInternal {
707705 let _ = must_lock ! ( self . inner) . vm . sys_complete_promise (
708706 id. to_owned ( ) ,
709707 NonEmptyValue :: Failure ( failure. into ( ) ) ,
710- PayloadOptions :: stable_serialization ( ) ,
708+ PayloadOptions :: default ( ) ,
711709 ) ;
712710 }
713711
@@ -753,7 +751,7 @@ impl ContextInternal {
753751
754752 let _ = inner_lock
755753 . vm
756- . sys_write_output ( res_to_write, PayloadOptions :: stable_serialization ( ) ) ;
754+ . sys_write_output ( res_to_write, PayloadOptions :: default ( ) ) ;
757755 inner_lock. maybe_flip_span_replaying_field ( ) ;
758756 }
759757
0 commit comments