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.
1 parent 21ce8ea commit a5332c6Copy full SHA for a5332c6
[refs]
@@ -1,5 +1,5 @@
1
---
2
-refs/heads/master: fa88d15d636d84b7e6928323386f86d3fec8f51b
+refs/heads/master: dd63c5ef1d55210cf9905295d9c33c622797fb72
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
5
refs/heads/try: 2898dcc5d97da9427ac367542382b6239d9c0bbf
trunk/src/rt/rust_task.h
@@ -463,6 +463,7 @@ inline rust_task* rust_get_current_task() {
463
464
// Make sure we've calculated the right address
465
::check_stack_canary(stk);
466
+ assert(stk->task != NULL && "task pointer not in stack structure");
467
return stk->task;
468
}
469
0 commit comments