Function sway_core::compile_to_asm
source ยท pub fn compile_to_asm(
handler: &Handler,
engines: &Engines,
input: Arc<str>,
initial_namespace: Root,
build_config: &BuildConfig,
package_name: &str
) -> 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).