alexcrichton opened PR #2425 from fix-wrong-store-2
to main
:
If a host-defined
Func::new
closure returns values from the wrong
store, this currently trips a debug assertion and causes other issues
elsewhere in release mode. This commit adds the same dynamic checks
found inFunc::wrap
in theFunc::new
case today.
alexcrichton updated PR #2425 from fix-wrong-store-2
to main
:
If a host-defined
Func::new
closure returns values from the wrong
store, this currently trips a debug assertion and causes other issues
elsewhere in release mode. This commit adds the same dynamic checks
found inFunc::wrap
in theFunc::new
case today.
fitzgen submitted PR Review.
fitzgen merged PR #2425.
Last updated: Dec 23 2024 at 13:07 UTC