assemble_source

Function assemble_source 

Source
pub(crate) fn assemble_source(
    source_file_body: &str,
    options: OutputOptions,
) -> Result<Binary, AssemblerFailure>
Expand description

Run all the passes of assembly, generating an output-ready Binary.

§Arguments

  • source_file_body - the contents (body) of the source file
  • options - what kind of output the user wants

§Errors