Skip to content

Auto-generate shims for old wasi_unstable module#845

Closed
alexcrichton wants to merge 2 commits intobytecodealliance:masterfrom
alexcrichton:modern-unstable
Closed

Auto-generate shims for old wasi_unstable module#845
alexcrichton wants to merge 2 commits intobytecodealliance:masterfrom
alexcrichton:modern-unstable

Conversation

@alexcrichton
Copy link
Member

This commit is effectively just doing what #707 already did, but
applying it to the snapshot_0 module as well. The end result is the
same, where we cut down on all the boilerplate in snapshot_0 and bring
it in line with the main wasi_snapshot_preview1 implementation. The
goal here is to make it easier to change the two in tandem since they're
both doing the same thing.

This commit is effectively just doing what bytecodealliance#707 already did, but
applying it to the `snapshot_0` module as well. The end result is the
same, where we cut down on all the boilerplate in `snapshot_0` and bring
it in line with the main `wasi_snapshot_preview1` implementation. The
goal here is to make it easier to change the two in tandem since they're
both doing the same thing.
Copy link
Member

@kubkon kubkon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@kubkon
Copy link
Member

kubkon commented Jan 22, 2020

I left more review in the subsequent PR, but none touching this code, so as far as I'm concerned, we're good to go here.

@kubkon kubkon added the wasi:impl Issues pertaining to WASI implementation in Wasmtime label Jan 22, 2020
@alexcrichton
Copy link
Member Author

Bah I misinterpreted your comments on #846 as comments here, so I accidentally merged that first. Will update this as necessary.

@alexcrichton
Copy link
Member Author

Er looks like that picked up everything, so I'm going to close this because I accidentally merged it with the other one. Will pay more attention next time!

@alexcrichton alexcrichton deleted the modern-unstable branch January 22, 2020 20:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

wasi:impl Issues pertaining to WASI implementation in Wasmtime

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants