Function sway_core::ast_to_asm
source · [−]pub fn ast_to_asm(
ast_res: CompileResult<TypedProgram>,
build_config: &BuildConfig
) -> CompileResult<AsmOrLib>
Expand description
Given an AST compilation result,
try compiling to a AsmOrLib
,
containing the asm in opcode form (not raw bytes/bytecode).