Restore CLI

This commit is contained in:
Richard Feldman 2020-07-21 01:35:10 -04:00
parent 6baf2757f3
commit 799e137f55
5 changed files with 181 additions and 411 deletions

View file

@ -25,7 +25,7 @@ use target_lexicon::{Architecture, OperatingSystem, Triple, Vendor};
// TODO this should probably use more helper functions
// TODO make this polymorphic in the llvm functions so it can be reused for another backend.
#[allow(clippy::cognitive_complexity)]
pub fn build(
pub fn gen(
arena: &Bump,
loaded: LoadedModule,
filename: PathBuf,