Skip to content

Commit

Permalink
Travis: Enable cpu-specific optimizations.
Browse files Browse the repository at this point in the history
  • Loading branch information
c0gent authored and afck committed Aug 29, 2018
1 parent 824eef9 commit 43799fc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 43799fc

Please sign in to comment.