Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Utilize try_reserve in kura #1678

Closed
GaroRobe opened this issue Dec 5, 2021 · 0 comments
Closed

Utilize try_reserve in kura #1678

GaroRobe opened this issue Dec 5, 2021 · 0 comments
Assignees

Comments

@GaroRobe
Copy link

GaroRobe commented Dec 5, 2021

In #1050 I encountered an possible memory allocation error due to broken frame size.
In Rust-1.57 try_reserve is now stable, so we should use it.

@GaroRobe GaroRobe self-assigned this Dec 5, 2021
@GaroRobe GaroRobe changed the title Utilize try_reserver in kura Utilize try_reserve in kura Dec 5, 2021
GaroRobe added a commit that referenced this issue Dec 6, 2021
* Added allocation error handling using try_reserve.

Signed-off-by: Artem Ponomarev <ponomarev@soramitsu.co.jp>
@GaroRobe GaroRobe closed this as completed Dec 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant