Skip to content

More granular features for stubbing #274

@vados-cosmonic

Description

@vados-cosmonic

During a recent PR that patched a bug in feature-based WASI interface stubbing, the point of how to deal with outgoing-handler came up:

#268 (comment)

It seems like there are at least two solutions that could improve the ergonomics of stubbing:

  • stubbing out fetch() itself via generated prelude to delete fetch
  • more granular features to enable stubbing

Implementing this and avoiding introducing bugs probably requires a bunch of upfront work:

  • Adding tests for all the current features & their usage (making sure existing stub combinations work)
  • implementing the prelude changes
  • adding & implementing the new granular features

Some of this work may overlap (and possibly resolve) #250

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