Function sway_core::compile_to_asm
source · [−]pub fn compile_to_asm(
input: Arc<str>,
initial_namespace: NamespaceRef,
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).