From 3b1d5fce1da158f392f9eb0b1cd191f31a6d1a5d Mon Sep 17 00:00:00 2001 From: Nathan Lilienthal Date: Wed, 10 Jan 2018 20:32:38 -0700 Subject: Fix tests to run. Links against STD to allow use of Vec. --- src/lib.rs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') diff --git a/src/lib.rs b/src/lib.rs index 0ec1239..af353cd 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -413,8 +413,13 @@ pub trait Perform { fn esc_dispatch(&mut self, params: &[i64], intermediates: &[u8], ignore: bool, byte: u8); } +#[cfg(test)] +#[macro_use] +extern crate std; + #[cfg(test)] mod tests { + use std::vec::Vec; use super::{Parser, Perform}; use core::i64; -- cgit