Skip to content

Commit

Permalink
Remove the -C lto directive
Browse files Browse the repository at this point in the history
This doesn't seem to apply to dylibs and is failing the release in
Travis.
  • Loading branch information
brandur committed May 29, 2017
1 parent a3b7a9a commit 9815bb6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ci/before_deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ main() {

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

cross rustc --target $TARGET --release -- -C lto
# The template uses `-- -C lto`, but this only applies to executables,
# cdylibs, and static libraries.
cross rustc --target $TARGET --release

# Naming will be .dylib on Mac OS and .so elsewhere.
cp target/$TARGET/release/libredis_cell.* $stage/
Expand Down

0 comments on commit 9815bb6

Please sign in to comment.