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

Move all examples to a top-level directory #1286

Merged
merged 9 commits into from
Mar 11, 2020

Commits on Mar 11, 2020

  1. Move all examples to a top-level directory

    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.
    alexcrichton committed Mar 11, 2020
    Configuration menu
    Copy the full SHA
    a9af096 View commit details
    Browse the repository at this point in the history
  2. Run rustfmt

    alexcrichton committed Mar 11, 2020
    Configuration menu
    Copy the full SHA
    e4bad23 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    aae0b61 View commit details
    Browse the repository at this point in the history
  4. More windows fixes

    alexcrichton committed Mar 11, 2020
    Configuration menu
    Copy the full SHA
    5b21516 View commit details
    Browse the repository at this point in the history
  5. Even more windows fixes

    alexcrichton committed Mar 11, 2020
    Configuration menu
    Copy the full SHA
    b598cd2 View commit details
    Browse the repository at this point in the history
  6. CI tweaks

    alexcrichton committed Mar 11, 2020
    Configuration menu
    Copy the full SHA
    28a2100 View commit details
    Browse the repository at this point in the history
  7. Another CI fix

    alexcrichton committed Mar 11, 2020
    Configuration menu
    Copy the full SHA
    e204469 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    656ae4a View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    98b94fa View commit details
    Browse the repository at this point in the history