File tree 2 files changed +19
-1
lines changed
2 files changed +19
-1
lines changed Original file line number Diff line number Diff line change
1
+ # 0.3.1
2
+
3
+ - [ fix] Abort when panicking across the FFI boundary in corner cases. (#8 )
4
+
5
+ ` Future::drop ` , panic payload from ` Future::poll ` , all ` Waker ` vtable functions ` Waker::* ` are
6
+ are now wrapped in ` std::panic::catch_unwind ` . An ` abort ` will be emitted when panic occurs,
7
+ since these functions are infallible and doesn't have sane value to return when panicking.
8
+ A short message would be printed to stderr before ` abort ` .
9
+
10
+ - [ fix] ` FfiContext::with_context ` is actually safe.
11
+
12
+ # 0.3.0
13
+
14
+ - [ major] Introduce a Poll variant ` Panicked ` which returns when ` Future::poll ` panicked in order to
15
+ propagate panic to the host.
16
+ - [ minor] Public ` FfiPoll ` and ` FfiContext ` .
17
+
18
+ # 0.2.1
Original file line number Diff line number Diff line change 1
1
[package ]
2
2
name = " async-ffi"
3
- version = " 0.3.0 "
3
+ version = " 0.3.1 "
4
4
edition = " 2018"
5
5
description = " Make async Futures FFI compatible"
6
6
keywords = [" ffi" , " async" , " futures" ]
You can’t perform that action at this time.
0 commit comments