Files
shadowsocks-rust/Cross.toml
2024-06-01 10:20:29 +08:00

14 lines
380 B
TOML

[build]
dockerfile = "./docker/linux-cross/Dockerfile"
pre-build = [
"curl --proto '=https' --tlsv1.2 -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",
"rm -rf $HOME/.cargo"
]
[build.env]
passthrough = ["RUSTFLAGS"]