Merge pull request #128 from urbit/as/arvo

serf: fix bug that would abandon arvo state
This commit is contained in:
Edward Amsden 2023-11-20 10:15:42 -06:00 committed by GitHub
commit 2b919b67ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -270,6 +270,7 @@ pub fn serf() -> io::Result<()> {
// XX: Such data should go in the PMA once that's available
unsafe {
let stack = &mut context.nock_context.stack;
stack.preserve(&mut context.arvo);
stack.preserve(&mut context.nock_context.cold);
stack.preserve(&mut context.nock_context.warm);
stack.frame_pop();