Skip to content

integrate incremental compilation #19

Description

@Techatrix

Instead of rerunning the compiler each time, keep the compiler running continuously with zig build-exe --listen=-. This will communicate over the compiler's internal protocol to trigger updates and receive compile errors. This can then be used to enable -fincremental for near instant recompiles.

This relies on the self hosted wasm backend to reliably support incremental compilation which I have not tested.

Follow up Issues

  • show compilation errors inline in the source text similar to ZLS's build-on-save
  • compile (and run) while typing

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions