aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib.rs5
1 files changed, 4 insertions, 1 deletions
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 <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();