diff options
author | David Li <li.davidm96@gmail.com> | 2016-01-05 10:43:52 -0700 |
---|---|---|
committer | David Li <li.davidm96@gmail.com> | 2016-01-05 10:43:52 -0700 |
commit | 1f0cea98f8d30d46e9b04d4076f5f203edecd7bd (patch) | |
tree | a438785c1f384f842106a6aaf5537fe487344732 /src | |
parent | 56d7d0d5bb5dc8bcbbedbacd1b1b18487f7808c2 (diff) |
Re-export elfloader
Diffstat (limited to 'src')
-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(); |