You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make GcRuntime::take_memory a safe method (#11410)
This cannot be an `unsafe` method as it's not possible to provide the
guarantee that the memory is placed back in the store (e.g. `forget`-ing
futures). Instead make the method more strict and say that panics will
happen if `replace_memory` isn't called. Existing implementations should
already adhere to this.
0 commit comments