Function sway_core::compile_to_bytecode
source · [−]pub fn compile_to_bytecode(
input: Arc<str>,
initial_namespace: Module,
build_config: BuildConfig,
source_map: &mut SourceMap
) -> BytecodeCompilationResult
Expand description
Given input Sway source code, compile to a BytecodeCompilationResult which contains the asm in bytecode form.