Skip to content

Commit

Permalink
Use cargo for release build
Browse files Browse the repository at this point in the history
  • Loading branch information
pka committed Aug 15, 2017
1 parent 324aebf commit 6ddd0ca
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 @@ -42,7 +42,7 @@ test_script:

before_deploy:
# TODO Update this to build the artifacts that matter to you
- cargo rustc --target %TARGET% --release --bin t_rex -- -C lto
- cargo rustc --no-default-features --target %TARGET% --release --bin t_rex -- -C lto
- 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 @@ -57,7 +57,7 @@ main() {

test -f Cargo.lock || cargo generate-lockfile

cross rustc --bin t_rex --target $TARGET --release -- -C lto
cargo rustc --bin t_rex --target $TARGET --release -- -C lto

cp target/$TARGET/release/t_rex $stage/

Expand Down

0 comments on commit 6ddd0ca

Please sign in to comment.