mozilla/sccache

Add a higher-level interface to RunCommand

Open

#95 opened on Mar 28, 2017

View on GitHub
 (0 comments) (0 reactions) (0 assignees)Rust (677 forks)github user discovery
help wanted

Repository metrics

Stars
 (7,329 stars)
PR merge metrics
 (Avg merge 28d 22h) (11 merged PRs in 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.

Contributor guide