pub fn compile_to_asm(
    input: Arc<str>,
    initial_namespace: NamespaceRef,
    build_config: BuildConfig
) -> CompilationResult
Expand description

Given input Sway source code, compile to a CompilationResult which contains the asm in opcode form (not raw bytes/bytecode).