wasvy-org/wasvy

Simplify lifetime/complexity of `runner::Config`

開放

#38 建立於 2026年1月22日

 (0 則留言) (0 個反應) (0 位負責人)Rust (6 個分叉)auto 404
good first issue

倉庫指標

星標
 (126 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

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.

貢獻者指南