diff --git a/src/bindgen/ir/constant.rs b/src/bindgen/ir/constant.rs index c7b90fd7..4d114022 100644 --- a/src/bindgen/ir/constant.rs +++ b/src/bindgen/ir/constant.rs @@ -723,7 +723,7 @@ impl Constant { } Language::Zig => { out.write(config.style.zig_def()); - write!(out, "{} ", name); + write!(out, "{} = ", name); language_backend.write_literal(out, value); out.write(";"); }