mozilla/sccache

Add a higher-level interface to RunCommand

Offen

#95 geöffnet am 28.03.2017

 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Rust (677 Forks)github user discovery
help wanted

Repository-Metriken

Stars
 (7.329 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 28T 22h) (11 gemergte PRs in 30 T)

Beschreibung

@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.

Contributor Guide