Skip to content

Latest commit

 

History

History
41 lines (30 loc) · 1.45 KB

CHANGELOG.md

File metadata and controls

41 lines (30 loc) · 1.45 KB

0.5.0

  • [major] Tweak parameter drop-order of proc-macro generated code to align with the ordinary async fn.
  • [minor] Bump MSRV to 1.56, due to syn 2 dependency of proc-macro.
  • [fix] Fix ref mut pattern handling in proc-macro.
  • [fix] Suppress warnings on Clippy nightly.
  • [fix] Fix various typos.

0.4.1

  • [minor] Bump dependency abi_stable to 0.11.
  • [minor] Proc-macro helper #[async_ffi].
  • [fix] Unignore tests for miri since they work now.
  • [fix] Reorganize and clean up documentations.

0.4.0

  • [minor] Add an optional feature abi_stable to derive StableAbi. Some internal structs are tweaked to fit the requirement of StableAbi, but the interface C ABI is unchanged.
  • [fix] Tweak crate descriptions.
  • [fix] Ignore tests using tokio on miri interpreter.

0.3.1

  • [fix] Abort when panicking across the FFI boundary in corner cases. (#8)

    Future::drop, panic payload from Future::poll, all Waker vtable functions Waker::* are are now wrapped in std::panic::catch_unwind. An abort will be emitted when panic occurs, since these functions are infallible and doesn't have sane value to return when panicking. A short message would be printed to stderr before abort.

  • [fix] FfiContext::with_context is actually safe.

0.3.0

  • [major] Introduce a Poll variant Panicked which returns when Future::poll panicked in order to propagate panic to the host.
  • [minor] Public FfiPoll and FfiContext.

0.2.1