Function compile_to_asm

Source
pub fn compile_to_asm(
    handler: &Handler,
    engines: &Engines,
    src: Source,
    initial_namespace: Package,
    build_config: &BuildConfig,
    package_name: &str,
    experimental: ExperimentalFeatures,
) -> Result<CompiledAsm, ErrorEmitted>
Expand description

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