Mention CC and CXX env vars when building

Fixes #244
unified_patch
Wilfred Hughes 2022-04-09 15:56:06 +07:00
parent 053de5acbe
commit b4afa6a80e
1 changed files with 5 additions and 0 deletions

@ -27,6 +27,11 @@ part of Rust).
$ cargo install difftastic $ 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 See [contributing](./contributing.md) for instructions on debug
builds. builds.