karlseguin / log.zig

A structured logger for Zig

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

error: no field named 'root_source_file' in struct 'Build.CreateModuleOptions'

qcjxberin opened this issue · comments

error: no field named 'root_source_file' in struct 'Build.CreateModuleOptions'
.root_source_file = .{ .path = "src/logz.zig" },

How to solve this problem?

I assume you're using Zig 0.11.

I created a branch which is compatible with it:
https://github.com/karlseguin/log.zig/tree/zig-0.11

If you're using 0.12, you might need to upgrade to a new release as this was changed in 0.12 a few weeks ago.

Thanks, with your help I've solved the problem.