Stream: git-wasmtime

Topic: wasmtime / PR #2952 make ResourceLimiter operate on Store...


view this post on Zulip Wasmtime GitHub notifications bot (May 28 2021 at 23:48):

pchickey opened PR #2952 from pch/limiter_in_store_data to main:

Based on #2897 - draft until that PR lands.

This PR does two things:

<!--

Please ensure that the following steps are all taken care of before submitting
the PR.

Please ensure all communication adheres to the code of conduct.
-->

view this post on Zulip Wasmtime GitHub notifications bot (May 28 2021 at 23:48):

pchickey requested alexcrichton for a review on PR #2952.

view this post on Zulip Wasmtime GitHub notifications bot (Jun 03 2021 at 22:00):

pchickey updated PR #2952 from pch/limiter_in_store_data to main.

view this post on Zulip Wasmtime GitHub notifications bot (Jun 03 2021 at 22:01):

pchickey has marked PR #2952 as ready for review.

view this post on Zulip Wasmtime GitHub notifications bot (Jun 03 2021 at 22:14):

alexcrichton submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Jun 03 2021 at 22:33):

pchickey updated PR #2952 from pch/limiter_in_store_data to main.

view this post on Zulip Wasmtime GitHub notifications bot (Jun 03 2021 at 22:59):

pchickey updated PR #2952 from pch/limiter_in_store_data to main.

view this post on Zulip Wasmtime GitHub notifications bot (Jun 04 2021 at 14:11):

alexcrichton submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Jun 04 2021 at 14:11):

alexcrichton created PR review comment:

Is the as &mut dyn ResourceLimiter required here in that rustc can't infer it?

view this post on Zulip Wasmtime GitHub notifications bot (Jun 04 2021 at 14:12):

alexcrichton submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Jun 04 2021 at 14:12):

alexcrichton created PR review comment:

Oh how come this change was necessary? I didn't think we even gave access to the Store...

view this post on Zulip Wasmtime GitHub notifications bot (Jun 04 2021 at 14:15):

bjorn3 submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Jun 04 2021 at 14:15):

bjorn3 created PR review comment:

|s| s doesn't attempt to coerce s AFAIK.

view this post on Zulip Wasmtime GitHub notifications bot (Jun 04 2021 at 16:09):

pchickey created PR review comment:

This is used over in the fuzzing crate, which uses a resource limiter. So, while previously the store could have a () data and also own a dyn ResourceLimiter, now the store has to contain the dyn ResourceLimiter.

view this post on Zulip Wasmtime GitHub notifications bot (Jun 04 2021 at 16:09):

pchickey submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Jun 04 2021 at 22:51):

pchickey updated PR #2952 from pch/limiter_in_store_data to main.

view this post on Zulip Wasmtime GitHub notifications bot (Jun 07 2021 at 19:13):

pchickey updated PR #2952 from pch/limiter_in_store_data to main.

view this post on Zulip Wasmtime GitHub notifications bot (Jun 07 2021 at 22:24):

pchickey updated PR #2952 from pch/limiter_in_store_data to main.

view this post on Zulip Wasmtime GitHub notifications bot (Jun 08 2021 at 14:37):

alexcrichton merged PR #2952.


Last updated: Dec 23 2024 at 12:05 UTC