Travis: Enable cpu-specific optimizations.

This is off by default so that binaries can be shared.
This commit is contained in:
c0gent 2018-08-29 06:56:35 -07:00 committed by Nick Sanders
parent 3b6dfcbfc1
commit 8ac8bef66c
1 changed files with 2 additions and 1 deletions

View File

@ -27,7 +27,8 @@ before_install:
env:
global:
- RUST_BACKTRACE=1
- RUSTFLAGS="-D warnings"
# Enables additional cpu-specific optimizations.
- RUSTFLAGS="-D warnings -C target-cpu=native"
# Note: `beta` should be removed along with `RUST_NEXT` after the 1.28
# stable release on 2018-09-13.
- RUST_NEXT=beta