Skip to content

Check generator: run a .wasm generator's Describe on request, sandboxed #91

Open

Description

@Kinflou
  • language-server#90 offers "Check generator" on a comline.toml generator entry, but disabled: running a .wasm generator's Describe needs a wasmtime sandbox in the language server.
  • Port the CLI's runner (cli src/external.rs): no preopens, no env or network, a wall-time limit, a memory cap. Run it only when the user asks, never automatically. Native generators stay refused.
  • Show the generator's languages and versions, and check them against the target.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3EventuallyenhancementNew feature or requestextensibilityThird-party encodings and generatorssecuritySecurity and safetytoolingCLI, language server, editor

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions