Skip to content

Commit fc4debb

Browse files
committed
docs/env_var: Document missing variable from #661.
1 parent 104d31e commit fc4debb

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/environment_variables.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,10 @@ In-depth documentation with examples can be found [here][env-examples].
4949
`cross` can convert it to a fully-qualified toolchain name.
5050
- `CROSS_CONTAINER_ENGINE_NO_BUILDKIT`: The container engine does not have
5151
`buildx` command (or BuildKit support) when building custom images.
52+
- `CROSS_NO_WARNINGS`: Set to `1` to panic on warnings from `cross`, before
53+
building the executables.
54+
Use `0` to disable this behaviour.
55+
The no warnings behaviour is implicitly enabled in CI pipelines.
5256

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

0 commit comments

Comments
 (0)