whoops
1 files changed, 1 insertions(+), 1 deletions(-) M src/backend/rust.rs
M src/backend/rust.rs +1 -1
@@ 186,7 186,7 @@ fn compile_decl(w: &mut impl Write, decl let nstr = mangle_name(&*INT.fetch(*name)); let sstr = compile_fn_signature(signature); let bstr = compile_exprs(body, ";\n", tck); - writeln!(w, "pub const fn {}{} {{\n{}\n}}\n", nstr, sstr, bstr) + writeln!(w, "pub fn {}{} {{\n{}\n}}\n", nstr, sstr, bstr) } hir::Decl::Const { name,