Skip to content

Commit

Permalink
Fix cross builds in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
samtay committed Jan 14, 2021
1 parent 2e414f8 commit a1eba24
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion ci/before_deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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/

Expand Down

0 comments on commit a1eba24

Please sign in to comment.