Skip to content

Commit

Permalink
docs/env_var: Document missing variable from cross-rs#661.
Browse files Browse the repository at this point in the history
  • Loading branch information
har7an committed Feb 20, 2024
1 parent 19dd2ae commit d82f223
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/environment_variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ In-depth documentation with examples can be found [here][env-examples].
`cross` can convert it to a fully-qualified toolchain name.
- `CROSS_CONTAINER_ENGINE_NO_BUILDKIT`: The container engine does not have
`buildx` command (or BuildKit support) when building custom images.
- `CROSS_NO_WARNINGS`: Set to `1` to panic on warnings from `cross`, before
building the executables.
Use `0` to disable this behaviour.
The no warnings behaviour is implicitly enabled in CI pipelines.

All config file options can also be specified using environment variables. For
example, setting `CROSS_BUILD_XARGO=1` is identical to setting `build.xargo =
Expand Down

0 comments on commit d82f223

Please sign in to comment.