cargo-rail 0.31.0

Cargo-native Rust workspace engine for affected CI, Rust source-surface analysis, compiler reuse, dependency coherence, exact-SHA releases, and split/sync
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! One-shot typed worker for cargo-rail distributed compiler operations.

#![forbid(unsafe_code)]
#![cfg_attr(not(test), deny(clippy::unwrap_used))]
#![cfg_attr(not(test), deny(clippy::expect_used))]

#[path = "shared/component_version.rs"]
mod component_version;

fn main() {
    if component_version::report_if_requested() {
        return;
    }
    std::process::exit(cargo_rail::compiler::invocation::dispatch_distributed_worker());
}