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: Nov 22 2024 at 16:03 UTC