From 1f0cea98f8d30d46e9b04d4076f5f203edecd7bd Mon Sep 17 00:00:00 2001 From: David Li Date: Tue, 5 Jan 2016 10:43:52 -0700 Subject: Re-export elfloader --- src/lib.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/lib.rs b/src/lib.rs index 6c521d7..4b976f1 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -15,18 +15,21 @@ // along with rustv. If not, see . #![feature(braced_empty_structs, step_by)] +extern crate elfloader as elfloader_lib; + pub mod isa; pub mod binary; pub mod memory; pub mod simulator; +pub use elfloader_lib as elfloader; + #[test] fn test_elfloader() { use std::io::prelude::*; use std::fs::File; use std::rc::Rc; use std::cell::RefCell; - extern crate elfloader; use memory::{Mmu, MemoryInterface}; let mut f = File::open("../riscv/kernel").unwrap(); -- cgit v1.2.3