uv/crates/uv-bench
konsti 8a863194c8
Use SharedState for build dispatch (#9553)
When looking at the build frontend code, I noticed that we always pass
every single field of the shared state to the build dispatch:

```rust
    let build_dispatch = BuildDispatch::new(
        ...
        &state.index,
        &state.git,
        &state.capabilities,
        &state.in_flight,
        ...
    );
```

We can abstract this by moving `SharedState` into the build dispatch.
The `BuildDispatch` then has only immutable fields and the
`SharedState`. Since the `SharedState` is all `Arc`s, we can clone it
freely.
2024-12-01 17:20:28 -05:00
..
benches Use SharedState for build dispatch (#9553) 2024-12-01 17:20:28 -05:00
inputs Add uv- prefix to all internal crates (#7853) 2024-10-01 20:15:32 -04:00
src Add uv- prefix to all internal crates (#7853) 2024-10-01 20:15:32 -04:00
Cargo.toml Use SharedState for build dispatch (#9553) 2024-12-01 17:20:28 -05:00