Stream: git-wasmtime

Topic: wasmtime / PR #3178 Remove dependency on TargetIsa from W...


view this post on Zulip Wasmtime GitHub notifications bot (Aug 11 2021 at 00:35):

alexcrichton opened PR #3178 from less-target-isa to main:

This commit started off by deleting the cranelift_codegen::settings
reexport in the wasmtime-environ crate and then basically played
whack-a-mole until everything compiled again. The main result of this is
that the wasmtime-* family of crates have generally less of a
dependency on the TargetIsa trait and type from Cranelift. While the
dependency isn't entirely severed yet this is at least a significant
start.

This commit is intended to be largely refactorings, no functional
changes are intended here. The refactorings are:

Note that this is built on https://github.com/bytecodealliance/wasmtime/pull/3176, but I wanted to keep all these refactorings ideally bite-ish sized to be more easily digestable

view this post on Zulip Wasmtime GitHub notifications bot (Aug 11 2021 at 10:53):

bjorn3 submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 11 2021 at 10:53):

bjorn3 created PR review comment:

Just a reminder to either remove or uncomment this code.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 11 2021 at 10:55):

bjorn3 created PR review comment:

Same

view this post on Zulip Wasmtime GitHub notifications bot (Aug 11 2021 at 10:55):

bjorn3 submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 11 2021 at 10:56):

bjorn3 submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 11 2021 at 10:56):

bjorn3 created PR review comment:

    /// Construct a new `Compiler`.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 11 2021 at 10:58):

bjorn3 submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 11 2021 at 10:58):

bjorn3 created PR review comment:

Same

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

alexcrichton updated PR #3178 from less-target-isa to main.

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

alexcrichton updated PR #3178 from less-target-isa to main.

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

alexcrichton updated PR #3178 from less-target-isa to main.

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

alexcrichton updated PR #3178 from less-target-isa to main.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 12 2021 at 22:08):

alexcrichton updated PR #3178 from less-target-isa to main.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 12 2021 at 22:08):

alexcrichton edited PR #3178 from less-target-isa to main:

This commit started off by deleting the cranelift_codegen::settings
reexport in the wasmtime-environ crate and then basically played
whack-a-mole until everything compiled again. The main result of this is
that the wasmtime-* family of crates have generally less of a
dependency on the TargetIsa trait and type from Cranelift. While the
dependency isn't entirely severed yet this is at least a significant
start.

This commit is intended to be largely refactorings, no functional
changes are intended here. The refactorings are:

Note that this is built on https://github.com/bytecodealliance/wasmtime/pull/3176, but I wanted to keep all these refactorings ideally bite-ish sized to be more easily digestable

view this post on Zulip Wasmtime GitHub notifications bot (Aug 12 2021 at 22:18):

alexcrichton updated PR #3178 from less-target-isa to main.

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

alexcrichton requested pchickey for a review on PR #3178.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 12 2021 at 23:40):

pchickey submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 12 2021 at 23:40):

pchickey submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 12 2021 at 23:40):

pchickey created PR review comment:

I am grateful that we have gotten rid of all these redundant duplications!

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

alexcrichton merged PR #3178.


Last updated: Dec 23 2024 at 12:05 UTC