-
Notifications
You must be signed in to change notification settings - Fork 553
Open
Description
Currently, the documentation on what environment variables this crate reads and what effects they have is lacking. For example, the try_flags_from_environment documentation merely says "Normally the cc crate will consult with the standard set of environment variables (such as CFLAGS and CXXFLAGS) to construct the compiler invocation." cc-rs uses more than CFLAGS and CXXFLAGS. Here are a few topics lacking documentation:
- How to use
CC/CXXto specify the compiler - How
CC/CXXcan specify compiler caches and compiler flags - How to use target-specific environment variables
- How
RUSTC_WRAPPERcan be used for C & C++ compiler caching with sccache -
VCINSTALLDIR
Are there other uses of environment variables that should be documented?
Metadata
Metadata
Assignees
Labels
No labels