Stream: git-wasmtime

Topic: wasmtime / PR #1286 Move all examples to a top-level dire...


view this post on Zulip Wasmtime GitHub notifications bot (Mar 11 2020 at 17:34):

alexcrichton opened PR #1286 from move-examples to master:

This commit moves all API examples (Rust and C) to a top-level
examples directory. This is intended to make it more discoverable and
conventional as to where examples are located. Additionally all examples
are now available in both Rust and C to see how to execute the example
in the language you're familiar with. The intention is that as more
languages are supported we'd add more languages as examples here too.

Each example is also accompanied by either a *.wat file which is
parsed as input, or a Rust project in a wasm folder which is compiled
as input.

A simple driver crate was also added to crates/misc which executes all
the examples on CI, ensuring the C and Rust examples all execute
successfully.

view this post on Zulip Wasmtime GitHub notifications bot (Mar 11 2020 at 17:34):

alexcrichton updated PR #1286 from move-examples to master:

This commit moves all API examples (Rust and C) to a top-level
examples directory. This is intended to make it more discoverable and
conventional as to where examples are located. Additionally all examples
are now available in both Rust and C to see how to execute the example
in the language you're familiar with. The intention is that as more
languages are supported we'd add more languages as examples here too.

Each example is also accompanied by either a *.wat file which is
parsed as input, or a Rust project in a wasm folder which is compiled
as input.

A simple driver crate was also added to crates/misc which executes all
the examples on CI, ensuring the C and Rust examples all execute
successfully.

view this post on Zulip Wasmtime GitHub notifications bot (Mar 11 2020 at 17:36):

alexcrichton updated PR #1286 from move-examples to master:

This commit moves all API examples (Rust and C) to a top-level
examples directory. This is intended to make it more discoverable and
conventional as to where examples are located. Additionally all examples
are now available in both Rust and C to see how to execute the example
in the language you're familiar with. The intention is that as more
languages are supported we'd add more languages as examples here too.

Each example is also accompanied by either a *.wat file which is
parsed as input, or a Rust project in a wasm folder which is compiled
as input.

A simple driver crate was also added to crates/misc which executes all
the examples on CI, ensuring the C and Rust examples all execute
successfully.

view this post on Zulip Wasmtime GitHub notifications bot (Mar 11 2020 at 17:45):

alexcrichton updated PR #1286 from move-examples to master:

This commit moves all API examples (Rust and C) to a top-level
examples directory. This is intended to make it more discoverable and
conventional as to where examples are located. Additionally all examples
are now available in both Rust and C to see how to execute the example
in the language you're familiar with. The intention is that as more
languages are supported we'd add more languages as examples here too.

Each example is also accompanied by either a *.wat file which is
parsed as input, or a Rust project in a wasm folder which is compiled
as input.

A simple driver crate was also added to crates/misc which executes all
the examples on CI, ensuring the C and Rust examples all execute
successfully.

view this post on Zulip Wasmtime GitHub notifications bot (Mar 11 2020 at 17:47):

alexcrichton updated PR #1286 from move-examples to master:

This commit moves all API examples (Rust and C) to a top-level
examples directory. This is intended to make it more discoverable and
conventional as to where examples are located. Additionally all examples
are now available in both Rust and C to see how to execute the example
in the language you're familiar with. The intention is that as more
languages are supported we'd add more languages as examples here too.

Each example is also accompanied by either a *.wat file which is
parsed as input, or a Rust project in a wasm folder which is compiled
as input.

A simple driver crate was also added to crates/misc which executes all
the examples on CI, ensuring the C and Rust examples all execute
successfully.

view this post on Zulip Wasmtime GitHub notifications bot (Mar 11 2020 at 18:07):

alexcrichton updated PR #1286 from move-examples to master:

This commit moves all API examples (Rust and C) to a top-level
examples directory. This is intended to make it more discoverable and
conventional as to where examples are located. Additionally all examples
are now available in both Rust and C to see how to execute the example
in the language you're familiar with. The intention is that as more
languages are supported we'd add more languages as examples here too.

Each example is also accompanied by either a *.wat file which is
parsed as input, or a Rust project in a wasm folder which is compiled
as input.

A simple driver crate was also added to crates/misc which executes all
the examples on CI, ensuring the C and Rust examples all execute
successfully.

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

alexcrichton updated PR #1286 from move-examples to master:

This commit moves all API examples (Rust and C) to a top-level
examples directory. This is intended to make it more discoverable and
conventional as to where examples are located. Additionally all examples
are now available in both Rust and C to see how to execute the example
in the language you're familiar with. The intention is that as more
languages are supported we'd add more languages as examples here too.

Each example is also accompanied by either a *.wat file which is
parsed as input, or a Rust project in a wasm folder which is compiled
as input.

A simple driver crate was also added to crates/misc which executes all
the examples on CI, ensuring the C and Rust examples all execute
successfully.

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

alexcrichton edited PR #1286 from move-examples to master:

This commit moves all API examples (Rust and C) to a top-level
examples directory. This is intended to make it more discoverable and
conventional as to where examples are located. Additionally all examples
are now available in both Rust and C to see how to execute the example
in the language you're familiar with. The intention is that as more
languages are supported we'd add more languages as examples here too.

Each example is also accompanied by either a *.wat file which is
parsed as input, or a Rust project in a wasm folder which is compiled
as input.

A simple driver crate was also added to crates/misc which executes all
the examples on CI, ensuring the C and Rust examples all execute
successfully.

cc #1272

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

alexcrichton requested fitzgen for a review on PR #1286.

view this post on Zulip Wasmtime GitHub notifications bot (Mar 11 2020 at 18:43):

alexcrichton updated PR #1286 from move-examples to master:

This commit moves all API examples (Rust and C) to a top-level
examples directory. This is intended to make it more discoverable and
conventional as to where examples are located. Additionally all examples
are now available in both Rust and C to see how to execute the example
in the language you're familiar with. The intention is that as more
languages are supported we'd add more languages as examples here too.

Each example is also accompanied by either a *.wat file which is
parsed as input, or a Rust project in a wasm folder which is compiled
as input.

A simple driver crate was also added to crates/misc which executes all
the examples on CI, ensuring the C and Rust examples all execute
successfully.

cc #1272

view this post on Zulip Wasmtime GitHub notifications bot (Mar 11 2020 at 19:21):

alexcrichton updated PR #1286 from move-examples to master:

This commit moves all API examples (Rust and C) to a top-level
examples directory. This is intended to make it more discoverable and
conventional as to where examples are located. Additionally all examples
are now available in both Rust and C to see how to execute the example
in the language you're familiar with. The intention is that as more
languages are supported we'd add more languages as examples here too.

Each example is also accompanied by either a *.wat file which is
parsed as input, or a Rust project in a wasm folder which is compiled
as input.

A simple driver crate was also added to crates/misc which executes all
the examples on CI, ensuring the C and Rust examples all execute
successfully.

cc #1272

view this post on Zulip Wasmtime GitHub notifications bot (Mar 11 2020 at 19:49):

fitzgen submitted PR Review.

view this post on Zulip Wasmtime GitHub notifications bot (Mar 11 2020 at 19:52):

alexcrichton updated PR #1286 from move-examples to master:

This commit moves all API examples (Rust and C) to a top-level
examples directory. This is intended to make it more discoverable and
conventional as to where examples are located. Additionally all examples
are now available in both Rust and C to see how to execute the example
in the language you're familiar with. The intention is that as more
languages are supported we'd add more languages as examples here too.

Each example is also accompanied by either a *.wat file which is
parsed as input, or a Rust project in a wasm folder which is compiled
as input.

A simple driver crate was also added to crates/misc which executes all
the examples on CI, ensuring the C and Rust examples all execute
successfully.

cc #1272

view this post on Zulip Wasmtime GitHub notifications bot (Mar 11 2020 at 20:37):

alexcrichton merged PR #1286.


Last updated: Oct 23 2024 at 20:03 UTC