Skip to content

Commit

Permalink
feat(CI): Fix arbitrator compile err
Browse files Browse the repository at this point in the history
  • Loading branch information
epociask committed May 30, 2024
1 parent 59aaf9b commit fd1f369
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arbitrator/wasm-libraries/go-stub/src/value.rs
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ pub unsafe fn get_field(source: u32, field: &[u8]) -> GoValue {
}
} else if source == GO_ID {
if field == b"_pendingEvent" {
if let Some(event) = &PENDING_EVENT {
if let Some(event) = unsafe { &*addr_of!(PENDING_EVENT) } {
let id = DynamicObjectPool::singleton()
.insert(DynamicObject::PendingEvent(event.clone()));
return GoValue::Object(id);
Expand Down

0 comments on commit fd1f369

Please sign in to comment.