[build] dockerfile = "docker/linux-cross/Dockerfile" pre-build = [ "curl -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain stable", ". $HOME/.cargo/env", "cargo install --force --locked bindgen-cli && mv $HOME/.cargo/bin/bindgen /usr/bin", ] [build.env] passthrough = [ "RUST_BACKTRACE", "RUST_LOG", "TRAVIS", "PKG_CONFIG_ALL_STATIC", "AWS_LC_SYS_NO_PREFIX", "AWS_LC_FIPS_SYS_NO_PREFIX", "AWS_LC_SYS_INTERNAL_BINDGEN", "AWS_LC_FIPS_SYS_INTERNAL_BINDGEN", "AWS_LC_SYS_EXTERNAL_BINDGEN", "AWS_LC_FIPS_SYS_EXTERNAL_BINDGEN", "AWS_LC_SYS_STATIC", "AWS_LC_FIPS_SYS_STATIC", "AWS_LC_SYS_CMAKE_BUILDER", "AWS_LC_SYS_CC_SRC_COLLECTOR", "GOPROXY", "CROSS_CMAKE_SYSTEM_PROCESSOR", ]