Skip to content

Commit

Permalink
Merge pull request #53 from jjcomer/fix-release
Browse files Browse the repository at this point in the history
fix:cross builds in rust 1.45
  • Loading branch information
jjcomer authored Aug 18, 2020
2 parents 20efedd + a41186f commit 40e9756
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
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

# TODO Update this to build the artifacts that matter to you
cross rustc --bin hogan --target $TARGET --release -- -C lto
cross build --bin hogan --target $TARGET --release

# TODO Update this to package the right artifacts
cp target/$TARGET/release/hogan $stage/
Expand Down
3 changes: 1 addition & 2 deletions ci/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ main() {
;;
esac

# Fix cross version as higher stopped including openssl as a dep
cargo install --version 0.1.16 cross
cargo install cross
}

main

0 comments on commit 40e9756

Please sign in to comment.