We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
EVENT_CALL_NONE
EVENT_NONE
1 parent 3df706c commit 14fdbccCopy full SHA for 14fdbcc
crates/guest-rust/rt/src/async_support.rs
@@ -100,7 +100,7 @@ static mut SPAWNED: Vec<BoxFuture> = Vec::new();
100
/// The states of all currently-open streams and futures.
101
static mut HANDLES: Lazy<HashMap<u32, Handle>> = Lazy::new(HashMap::new);
102
103
-const EVENT_CALL_NONE: i32 = 0;
+const EVENT_NONE: i32 = 0;
104
const _EVENT_CALL_STARTING: i32 = 1;
105
const EVENT_CALL_STARTED: i32 = 2;
106
const EVENT_CALL_RETURNED: i32 = 3;
@@ -378,7 +378,7 @@ unsafe fn callback_with_state(
378
event2: i32,
379
) -> i32 {
380
match event0 {
381
- EVENT_CALL_NONE => {
+ EVENT_NONE => {
382
let done = poll(state).is_ready();
383
callback_code(state, done)
384
}
0 commit comments