I agree, given that this is a wrapper for whatever the platform C compiler happens to be (generally gcc, clang, or MSVC), the name gcc
is very misleading.
The cc
crate is a cycle collector from pre-1.0, has no dependent crates, doesn’t compile on Rust 1.0 or later, and hasn’t been updated since 2014 (there’s one commit in GitHub from 2015 to fix one 1.0 compat issue, but there are others that are not fixed). It’s possible that we could just ask @cmr if we could take over the name.
Other alternate obvious names could be compilec
or ccompiler
(or snake or kebab case versions, like compile-c
, compile_c
, c-compiler
, or c_compiler
) but those are a lot more cumbersome. cc
would be my preference, followed by compilec
, followed by just sticking with gcc
and accepting the confusion that causes.