Pass kernel return alongside attributes writeback #552

Merged
sb10q merged 4 commits from occheung/nac3:kern-return into master 2024-11-16 12:04:05 +08:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit b53266e9e6 - Show all commits

View File

@ -1088,7 +1088,7 @@ pub fn attributes_writeback<'ctx>(
let args: Vec<_> = let args: Vec<_> =
values.into_iter().map(|(_, val)| (None, ValueEnum::Dynamic(val))).collect(); values.into_iter().map(|(_, val)| (None, ValueEnum::Dynamic(val))).collect();
if let Err(e) = if let Err(e) =
rpc_codegen_callback_fn(ctx, None, (&fun, PrimDef::Int32.id()), args, generator, false) rpc_codegen_callback_fn(ctx, None, (&fun, PrimDef::Int32.id()), args, generator, true)
{ {
return Ok(Err(e)); return Ok(Err(e));
} }