Hopefully finish the memory manager implementation for llvm RuntimeDyLd

This commit is contained in:
Lachlan Sneff
2019-02-27 17:21:20 -08:00
parent d55387d581
commit 5d77769381
6 changed files with 176 additions and 47 deletions

View File

@ -49,6 +49,7 @@ lazy_static! {
use std::io::Read;
let mut s = String::new();
file.read_to_string(&mut s).unwrap();
s.truncate(s.len() - 4);
Some(s)
} else {
None