Travis: Enable cpu-specific optimizations.

This commit is contained in:
c0gent 2018-08-29 06:57:55 -07:00 committed by Andreas Fackler
parent 824eef95ae
commit 43799fc0cf
1 changed files with 2 additions and 1 deletions

View File

@ -18,7 +18,8 @@ before_install:
env:
global:
- RUST_BACKTRACE=1
- RUSTFLAGS="-D warnings"
# Enables additional cpu-specific optimizations.
- RUSTFLAGS="-D warnings -C target-cpu=native"
# Note: Currently (as of 2018-07-13), `clippy-preview` is only in the nightly
# release. A version of `rustfmt` that supports the `--check` option
# is also not in stable yet.