Function sway_core::compile_to_asm [−][src]
pub fn compile_to_asm(
input: Arc<str>,
initial_namespace: &Namespace,
build_config: BuildConfig,
dependency_graph: &mut HashMap<String, HashSet<String>>
) -> CompilationResult
Expand description
Given input Sway source code, compile to a CompilationResult which contains the asm in opcode form (not raw bytes/bytecode).