compile with stable Rust

The benchmarks now require "cargo bench --features=nightly". The
extra #[cfg(nightly)] switches in the code needed for it are a bit
annoying; I may move the benches to a separate directory to avoid this.
But for now, this works.
This commit is contained in:
Scott Lamb
2016-12-09 22:04:35 -08:00
parent d48a3e16a8
commit 8e499aa070
8 changed files with 43 additions and 83 deletions

View File

@@ -28,9 +28,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
#![cfg_attr(test, feature(test))]
#![feature(conservative_impl_trait, plugin, proc_macro)]
#![plugin(clippy)]
#![cfg_attr(all(nightly, test), feature(test))]
extern crate byteorder;
extern crate core;