Skip to content

Consider adding platform flags (E.g --browser, --wasi) / Easier defaults for newcomers #1132

Closed
@torch2424

Description

@torch2424

Hello!

So I have seen more than a handful of issues that creep up in multiple places (the latest being bytecodealliance/lucet#436 but I can definitely find more examples), that cause headaches for people because they happened to miss something in the docs.

As more "platforms" for wasm start coming around, I think it'd be nice to have some alias flags for certain envioronments.

Like for example, on all of my wasi applications (like as-echo), I always have to take the extra step of adding: --use wasi_abort from as-wasis wasi_abort

Maybe it'd be a good idea for as different platforms require different things, we can add some default alises for said platform? Or maybe another solution works?

Just wanted to hear some thoughts on this. And I totally think I can open a PR for this one whatever we decide to do 😄

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions