Fix build.

This commit is contained in:
Andrew Keeton 2015-01-29 16:28:53 -05:00
parent 6520983de4
commit 404f8ba1e8
5 changed files with 9 additions and 6 deletions

View File

@ -39,5 +39,5 @@ name = "emu6502"
name = "emu6502"
[dependencies]
log = "0.1.0"
log = "0.2.1"

View File

@ -25,10 +25,17 @@
// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
// POSSIBILITY OF SUCH DAMAGE.
#![feature(core)]
#![feature(hash)]
#![feature(rustc_private)]
// Needed for debug! / log! macros
#[macro_use]
extern crate log;
#[macro_use]
extern crate rustc_bitflags;
pub mod address;
pub mod instruction;
pub mod machine;

View File

@ -730,8 +730,7 @@ impl Machine {
}
}
#[allow(unstable)]
impl std::fmt::Show for Machine {
impl std::fmt::Debug for Machine {
fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
write!(f, "Machine Dump:\n\nAccumulator: {}",
self.registers.accumulator)

View File

@ -1,5 +1,3 @@
#![allow(unstable)]
use std::num::Int;
pub struct RangeIncl<T: Int> {

View File

@ -55,7 +55,6 @@ impl StatusArgs {
}
pub bitflags! {
#[allow(unstable)]
#[derive(Show)]
flags Status: u8 {
const PS_NEGATIVE = 0b10000000,