mirror of
https://github.com/shadowsocks/shadowsocks-rust.git
synced 2026-02-09 01:59:16 +08:00
14 lines
380 B
TOML
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"]
|
|
|