File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: 75cf13ec7279ff7a56e3329ab6d6d8fc03e66e4f
2
+ refs/heads/master: 9604544e234b30673ffe1bbcd24809e91bd39867
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
5
5
refs/heads/try: 2898dcc5d97da9427ac367542382b6239d9c0bbf
Original file line number Diff line number Diff line change @@ -71,8 +71,8 @@ upcall_call_shim_on_c_stack(void *args, void *fn_ptr) {
71
71
try {
72
72
task->call_on_c_stack (args, fn_ptr);
73
73
} catch (...) {
74
- LOG_ERR (task, task, " Native code threw an exception " );
75
- abort ( );
74
+ // Logging here is not reliable
75
+ assert ( false && " Native code threw an exception " );
76
76
}
77
77
78
78
task->record_stack_limit ();
@@ -96,9 +96,8 @@ upcall_call_shim_on_rust_stack(void *args, void *fn_ptr) {
96
96
} catch (...) {
97
97
// We can't count on being able to unwind through arbitrary
98
98
// code. Our best option is to just fail hard.
99
- LOG_ERR (task, task,
100
- " Rust task failed after reentering the Rust stack" );
101
- abort ();
99
+ // Logging here is not reliable
100
+ assert (false && " Rust task failed after reentering the Rust stack" );
102
101
}
103
102
104
103
// FIXME: As above
You can’t perform that action at this time.
0 commit comments