mozilla/sccache

Add a higher-level interface to RunCommand

Open

#95 aberto em 28 de mar. de 2017

Ver no GitHub
 (0 comments) (0 reactions) (0 assignees)Rust (677 forks)github user discovery
help wanted

Métricas do repositório

Stars
 (7.329 stars)
Métricas de merge de PR
 (Mesclagem média 28d 22h) (11 fundiu PRs em 30d)

Description

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

Guia do colaborador