wasvy-org/wasvy

Simplify lifetime/complexity of `runner::Config`

Open

#38 opened on Jan 22, 2026

 (0 comments) (0 reactions) (0 assignees)Rust (6 forks)auto 404
good first issue

Repository metrics

Stars
 (126 stars)
PR merge metrics
 (PR metrics pending)

Description

To work around some lifetime issues, we have this beauty in runner.rs:

pub(crate) enum Config<'a, 'b, 'c, 'd, 'e, 'f, 'g> {
    Setup(ConfigSetup<'a>),
    RunSystem(ConfigRunSystem<'a, 'b, 'c, 'd, 'e, 'f, 'g>),
}

These lifetimes can probably be reduced and simplified.

Contributor guide