From a1eba2420ea4a04dad52744e6c9701254851f382 Mon Sep 17 00:00:00 2001 From: Sam Tay Date: Thu, 14 Jan 2021 02:17:44 -0500 Subject: [PATCH] Fix cross builds in CI --- appveyor.yml | 2 +- ci/before_deploy.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 7f07efc..dc1c336 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -38,7 +38,7 @@ test_script: ) before_deploy: - - cargo rustc --no-default-features --features windows --features reqwest/native-tls-vendored --target %TARGET% --release --bin %CRATE_NAME% -- -C lto + - cargo rustc --no-default-features --features windows --features reqwest/native-tls-vendored --target %TARGET% --release --bin %CRATE_NAME% - ps: ci\before_deploy.ps1 deploy: diff --git a/ci/before_deploy.sh b/ci/before_deploy.sh index db96734..748a4c4 100644 --- a/ci/before_deploy.sh +++ b/ci/before_deploy.sh @@ -18,7 +18,7 @@ main() { test -f Cargo.lock || cargo generate-lockfile - cross rustc $features --bin so --target $TARGET --release -- -C lto + cross rustc $features --bin so --target $TARGET --release cp target/$TARGET/release/so $stage/