artiq: use async RPC for attributes writeback

This commit is contained in:
occheung 2024-11-12 12:04:01 +08:00
parent 86eb22bbf3
commit b53266e9e6

View File

@ -1088,7 +1088,7 @@ pub fn attributes_writeback<'ctx>(
let args: Vec<_> =
values.into_iter().map(|(_, val)| (None, ValueEnum::Dynamic(val))).collect();
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));
}