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 da570eb commit 78578c0Copy full SHA for 78578c0
[refs]
@@ -2,5 +2,5 @@
2
refs/heads/master: 61b1875c16de39c166b0f4d54bba19f9c6777d1a
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
5
-refs/heads/try: fa88d15d636d84b7e6928323386f86d3fec8f51b
+refs/heads/try: dd63c5ef1d55210cf9905295d9c33c622797fb72
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
branches/try/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