From b4afa6a80e16ac4a8acbf462dcc4352803546a8e Mon Sep 17 00:00:00 2001 From: Wilfred Hughes Date: Sat, 9 Apr 2022 15:56:06 -0700 Subject: [PATCH] Mention CC and CXX env vars when building Fixes #244 --- manual/src/getting_started.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/manual/src/getting_started.md b/manual/src/getting_started.md index f5841f5ef..15ae682c4 100644 --- a/manual/src/getting_started.md +++ b/manual/src/getting_started.md @@ -27,6 +27,11 @@ part of Rust). $ cargo install difftastic ``` +Difftastic uses the `cc` crate for building C/C++ dependencies. This +allows you to use environment variables `CC` and `CXX` to control the +compiler used (see [the cc +docs](https://github.com/alexcrichton/cc-rs#external-configuration-via-environment-variables)). + See [contributing](./contributing.md) for instructions on debug builds.