Veikka Tuominen

Results 363 comments of Veikka Tuominen

> Diff is more readable with whitespace changes hidden You don't need the else block.

`fn () void` is a function body type, not a function pointer. It doesn't exist at runtime so it doesn't have an address and the formatting code doesn't have access...

Because `*const fn() void` is a function pointer so it can also exist at runtime.

`fn () void` is a function body type, it does not exist at runtime. `*const fn () void` is a function pointer which has an address at runtime.

Dependency loops only happen when analyzing a declaration depends on the declaration already being analyzed. A function referencing itself does not require it to be analyzed. ```zig export fn foo()...

Are you also setting `-Dtarget=riscv64-linux`? Without it I get a panic on this line (which is a bug in itself #18876). With `riscv32` I get `error: unsupported arch` and with...

By the mention of the glibc PR I'm guessing that you're linking libc?

Then I'm not sure how you're getting to `LLVM Emit Object` unless you're talking about building the build script? Does `zig build -Dno-lib -Dcpu=sifive_u74 -Dtarget=riscv64-linux --help` print usage for you?