Function sway_core::compile_to_asm
source · [−]pub fn compile_to_asm(
input: Arc<str>,
initial_namespace: Module,
build_config: BuildConfig
) -> CompileResult<AsmOrLib>
Expand description
Given input Sway source code,
try compiling to a AsmOrLib
,
containing the asm in opcode form (not raw bytes/bytecode).