Function sway_core::compile_to_asm

source ·
pub fn compile_to_asm(
    type_engine: &TypeEngine,
    input: Arc<str>,
    initial_namespace: Module,
    build_config: BuildConfig
) -> CompileResult<CompiledAsm>
Expand description

Given input Sway source code, try compiling to a CompiledAsm, containing the asm in opcode form (not raw bytes/bytecode).