wip typing
This commit is contained in:
parent
c9c42d383f
commit
b8535aa772
10 changed files with 749 additions and 552 deletions
ltvm/src
|
@ -35,8 +35,10 @@ fn main() {
|
|||
linker.import( source_path, bincode::deserialize_from( input ).expect("") );
|
||||
}
|
||||
|
||||
let entry_addr = linker.get_link_addr(&args.entry)
|
||||
let entry_addr = linker.get_link_addr(&args.entry).unwrap_or(0);
|
||||
/*
|
||||
.expect(&format!("cant find entry symbol '{}'", args.entry));
|
||||
*/
|
||||
let bytecode = linker.link_total().expect("Link error:");
|
||||
|
||||
eprintln!("{} ({} bytes)", "Loaded bytecode.".green(), bytecode.len());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue