mozilla/sccache

Add a higher-level interface to RunCommand

Open

#95 aperta il 28 mar 2017

Vedi su GitHub
 (0 commenti) (0 reazioni) (0 assegnatari)Rust (677 fork)github user discovery
help wanted

Metriche repository

Star
 (7329 star)
Metriche merge PR
 (Merge medio 28g 22h) (11 PR mergiate in 30 g)

Descrizione

@alexcrichton pointed out that the compiler implementations had some repetitive and potentially error-prone code for spawning processes with my changes in #92. Specifically for each compiler invocation it has to call cmd.env_clear().envs(...) to properly set the environment. We should add a higher-level interface here so that it's harder to make a mistake in this code.

Guida contributor