wasvy-org/wasvy

Simplify lifetime/complexity of `runner::Config`

Aperta

#38 aperta il 22 gen 2026

 (0 commenti) (0 reazioni) (0 assegnatari)Rust (6 fork)auto 404
good first issue

Metriche repository

Star
 (126 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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.

Guida contributor