From d82f2234eb90d3ca650d2b0d466c75d12a02924a Mon Sep 17 00:00:00 2001 From: Andreas Hartmann Date: Tue, 13 Feb 2024 06:35:57 +0100 Subject: [PATCH] docs/env_var: Document missing variable from #661. --- docs/environment_variables.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/environment_variables.md b/docs/environment_variables.md index 2d60192c1..bafc72f25 100644 --- a/docs/environment_variables.md +++ b/docs/environment_variables.md @@ -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 =