Stream: git-wasmtime

Topic: wasmtime / PR #3158 Refactor cranelift immediates slightly


view this post on Zulip Wasmtime GitHub notifications bot (Aug 06 2021 at 15:19):

alexcrichton opened PR #3158 from refactor-immediates-a-bit to main:

I've run up against the Into-vs-From impls a few times and figured
I'd go ahead and put up a refactoring. This switches Into impls into
From impls which allows using both traits instead of just the Into
version. Additionally this removes a few small as casts in favor of
infallible from/into or try_from with error handling.

<!--

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 (Aug 06 2021 at 15:29):

alexcrichton closed without merge PR #3158.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 06 2021 at 15:29):

alexcrichton reopened PR #3158 from refactor-immediates-a-bit to main.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 06 2021 at 16:13):

abrown submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 06 2021 at 16:14):

abrown merged PR #3158.


Last updated: Nov 22 2024 at 16:03 UTC