Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add extending WASI plugin example #399

Merged
merged 14 commits into from
Apr 29, 2019
Merged

Conversation

MarkMcCaskey
Copy link
Contributor

No description provided.

@xmclark xmclark self-requested a review April 29, 2019 15:09
Copy link
Contributor

@xmclark xmclark left a comment

Choose a reason for hiding this comment

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

Well done! This was needed.

I made some feedback. The only other suggestion is adding a wapm.toml. We may not publish it, but it is still good for people to see wapm in the wild ™️ .

examples/plugin-for-example/README.md Outdated Show resolved Hide resolved
examples/plugin-for-example/README.md Outdated Show resolved Hide resolved
# build it
cargo build --release --target=wasm32-unknown-wasi
# copy it to examples folder
cp ../../target/wasm32-unknown-wasi/release/plugin-for-example.wasm ../
Copy link
Contributor

Choose a reason for hiding this comment

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

It may also be worth noting that WASI is only supported on windows with the gnu toolchain. If you can't find a way to work this detail into the example, that's ok, but it could be another stumbling block for some.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Okay, I'm not sure exactly what to add to say that. What I mean is, does that show up in the target dir?

examples/plugin.rs Outdated Show resolved Hide resolved
examples/plugin-for-example/Cargo.toml Show resolved Hide resolved
examples/plugin.rs Show resolved Hide resolved
examples/plugin.rs Show resolved Hide resolved
examples/plugin.rs Show resolved Hide resolved
xmclark and others added 7 commits April 29, 2019 08:30
Co-Authored-By: MarkMcCaskey <MarkMcCaskey@users.noreply.github.com>
Co-Authored-By: MarkMcCaskey <MarkMcCaskey@users.noreply.github.com>
Co-Authored-By: MarkMcCaskey <MarkMcCaskey@users.noreply.github.com>
…smerio/wasmer into feature/extending-wasi-plugin-example
@xmclark xmclark self-requested a review April 29, 2019 18:34
@MarkMcCaskey
Copy link
Contributor Author

bors r+

bors bot added a commit that referenced this pull request Apr 29, 2019
399: Add extending WASI plugin example r=MarkMcCaskey a=MarkMcCaskey



Co-authored-by: Mark McCaskey <mark@wasmer.io>
Co-authored-by: Mark McCaskey <markmccaskey@users.noreply.github.com>
Co-authored-by: Mackenzie Clark <mackenzie.a.z.c@gmail.com>
@bors
Copy link
Contributor

bors bot commented Apr 29, 2019

@bors bors bot merged commit 49aa104 into master Apr 29, 2019
@bors bors bot deleted the feature/extending-wasi-plugin-example branch April 29, 2019 19:15
surban pushed a commit to rust-wasi-web/wwrr that referenced this pull request Nov 9, 2024
…url-to-the-worker-bootstrap-script-via-the

Pass the import URL to the worker bootstrap script via the `init` message
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants