re-add to cargo config outside of conditional
This commit is contained in:
Родитель
ac643cbf3e
Коммит
4e57d0c044
|
@ -80,17 +80,19 @@ configure_cargo() {
|
|||
|
||||
# tell cargo which linker to use for cross compilation
|
||||
mkdir -p .cargo
|
||||
|
||||
cat >> .cargo/config <<EOF
|
||||
[target.$TARGET]
|
||||
linker = "${gcc}"
|
||||
EOF
|
||||
fi
|
||||
cat >> Cargo.toml <<EOF
|
||||
cat >> .cargo/config <<EOF
|
||||
|
||||
[profile.release]
|
||||
debug = false
|
||||
strip = true
|
||||
EOF
|
||||
cat Cargo.toml
|
||||
cat .cargo/config
|
||||
}
|
||||
|
||||
main() {
|
||||
|
|
Загрузка…
Ссылка в новой задаче