Skip to content

Commit 921c1b8

Browse files
committed
---
yaml --- r: 6405 b: refs/heads/master c: d6ab8eb h: refs/heads/master i: 6403: 4354fe5 v: v3
1 parent 314f70c commit 921c1b8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: 9aa67052e17705ee8175505836a2fa0117f044fe
2+
refs/heads/master: d6ab8ebb07d0f6360d2aa32dec71c24a32c21ea6

trunk/src/rt/rust_builtin.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -508,8 +508,8 @@ chan_id_send(type_desc *t, rust_task_id target_task_id,
508508
return (uintptr_t)sent;
509509
}
510510

511-
// This is called by an intrinsic on the Rust stack.
512-
// Do not call on the C stack.
511+
// This is called by an intrinsic on the Rust stack and must run
512+
// entirely in the red zone. Do not call on the C stack.
513513
extern "C" CDECL void
514514
rust_task_sleep(rust_task *task, size_t time_in_us, bool *killed) {
515515
task->yield(time_in_us, killed);

0 commit comments

Comments
 (0)