Stream: git-wasmtime

Topic: wasmtime / PR #1938 wiggle: factor BorrowChecker concrete...


view this post on Zulip Wasmtime GitHub notifications bot (Jun 29 2020 at 18:58):

pchickey requested alexcrichton for a review on PR #1938.

view this post on Zulip Wasmtime GitHub notifications bot (Jun 29 2020 at 18:58):

pchickey opened PR #1938 from pch/factor_borrowchecker_out_of_wiggle to main:

The BorrowChecker methods get inlined as part of the GuestMemory trait.

The BorrowChecker implementation moves out to the engines. Unfortunately
this does mean having a copy in test-helpers along with another in
wasmtime-wiggle. The wasmtime-wiggle copy will move into wasmtime
itself in a subsequent PR.

https://github.com/bytecodealliance/wasmtime/issues/1917

<!--

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 (Jun 29 2020 at 21:18):

alexcrichton submitted PR Review.

view this post on Zulip Wasmtime GitHub notifications bot (Jun 29 2020 at 21:18):

alexcrichton submitted PR Review.

view this post on Zulip Wasmtime GitHub notifications bot (Jun 29 2020 at 21:18):

alexcrichton created PR Review Comment:

Technically this can probably be safe now since the unsafety is now in the unsafe impl GuestMemory for ...

view this post on Zulip Wasmtime GitHub notifications bot (Jun 30 2020 at 17:10):

pchickey updated PR #1938 from pch/factor_borrowchecker_out_of_wiggle to main:

The BorrowChecker methods get inlined as part of the GuestMemory trait.

The BorrowChecker implementation moves out to the engines. Unfortunately
this does mean having a copy in test-helpers along with another in
wasmtime-wiggle. The wasmtime-wiggle copy will move into wasmtime
itself in a subsequent PR.

https://github.com/bytecodealliance/wasmtime/issues/1917

<!--

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 (Jun 30 2020 at 17:10):

pchickey submitted PR Review.

view this post on Zulip Wasmtime GitHub notifications bot (Jun 30 2020 at 17:10):

pchickey created PR Review Comment:

Thanks! Fixed in 5f5d7cb, will merge once CI passes

view this post on Zulip Wasmtime GitHub notifications bot (Jun 30 2020 at 18:25):

pchickey updated PR #1938 from pch/factor_borrowchecker_out_of_wiggle to main:

The BorrowChecker methods get inlined as part of the GuestMemory trait.

The BorrowChecker implementation moves out to the engines. Unfortunately
this does mean having a copy in test-helpers along with another in
wasmtime-wiggle. The wasmtime-wiggle copy will move into wasmtime
itself in a subsequent PR.

https://github.com/bytecodealliance/wasmtime/issues/1917

<!--

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 (Jun 30 2020 at 20:08):

pchickey merged PR #1938.


Last updated: Nov 22 2024 at 17:03 UTC