#expected type '[]const u8', found 'TypeOf(null)'

1 messages · Page 1 of 1 (latest)

jaunty thicket
#

could you run zig build with -freference-trace? :)

sullen umbra
#

I have tried that, and this yields the same output. Strange.

jaunty thicket
#

one sec

#

could you go to the build.zig

#

and add a builder.reference_trace = 10 or smth? :)

#

that should enable reference traces

sullen umbra
#

okay

#
pub fn build(b: *Builder) !void {
    b.reference_trace = 10;
    buildNoreturn(b);
}
#

adding this line to build seems to have no effect either

#

could this be a strange compiler bug, perhaps I could check for a newer master version?

jaunty thicket
#

maybe

#

but zigup just has a weird build.zig layout

sullen umbra
#

tell me about it

jaunty thicket
#

could you add that same line to the build function in the build2.zig file?

sullen umbra
#

did that just a bit before you said haha

#

no effect still

jaunty thicket
#

ah ok

#

i have no idea

#

@oak hinge any ideas? :)

sullen umbra
#

poor guy lmao

oak hinge
#

About to take off on plane. That error is fixed in latest GithubRepoStep.zig from zig-build-repos repo if I'm reading this right

sullen umbra
# jaunty thicket maybe

I will try looking for a newer master or compiling from a slightly older commit perhaps? unless that is the wrong idea

jaunty thicket
sullen umbra
#

thanks for the help

jaunty thicket