diff options
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -15,18 +15,21 @@ // along with rustv. If not, see <http://www.gnu.org/licenses/>. #![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(); |