diff --git a/appveyor.yml b/appveyor.yml index 7a7eea0..47b194d 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -26,7 +26,7 @@ test_script: ) before_deploy: - - cargo rustc --target %TARGET% --package %CRATE_NAME% --release --bin %CRATE_NAME% -- -C lto + - cargo rustc --target %TARGET% --package %CRATE_NAME% --release --bin %CRATE_NAME% - ps: ci\before_deploy.ps1 deploy: diff --git a/ci/before_deploy.sh b/ci/before_deploy.sh index 4528f5e..23659f3 100644 --- a/ci/before_deploy.sh +++ b/ci/before_deploy.sh @@ -17,7 +17,7 @@ main() { test -f Cargo.lock || cargo generate-lockfile - cross rustc --package $CRATE_NAME --bin $CRATE_NAME --target $TARGET --release -- -C lto + cross rustc --package $CRATE_NAME --bin $CRATE_NAME --target $TARGET --release cp target/$TARGET/release/$CRATE_NAME $stage/