ZigEmbeddedGroup / regz

Generate zig code from ATDF or SVD files for microcontrollers.
MIT License
82 stars 29 forks source link

comptime changes in zig-master - zig-libxml2 update #100

Closed zwn closed 1 year ago

zwn commented 1 year ago

Currently the build fails due to this code:

/buildkite/builds/79e5d261aea6-1/zig-embedded-group/regz/deps/zig-libxml2/libxml2.zig:24:13: error: function called at runtime cannot return value at comptime
--
  | return "\"" ++ major ++ "." ++ minor ++ "." ++ micro ++ "\"";

It seems related to this change:

zig-libxml2 already has a fix for this in main.

mattnite commented 1 year ago

Haha yeah, I submitted that patch to libxml2, but haven’t gotten around to fixing regz. Will have that up today

zwn commented 1 year ago

Fixed by