Wooster

Results 58 issues of Wooster

A batch of fixes to docs and text I amassed over time. I wasn't sure when the right time would be to post this but I had my first merge...

I noticed this comment saying the intent of the code's author was unclear. `setName`: `prctl` can set or get the name of the "calling thread", i.e. the thread that calls...

``` $ zig-out/bin/zig test test/cases/compile_errors/non_sized_asm_input_operand.zig test/cases/compile_errors/non_sized_asm_input_operand.zig:4:23: error: input operand of type 'type' is not sized : [_] "{al}" (u8), ^~ test/cases/compile_errors/non_sized_asm_input_operand.zig:12:22: error: input operand of type 'type' is not sized...

I was gonna do more than this (namely remove `Type.Payload`) but that quickly turned out to be a bit too much to do all at once. It's going to need...

* Before, std.Target.Cpu.Arch.toCoffMachine was not used anywhere. Instead, std.coff.fromTargetCpuArch was used. After this commit this is still the case but toCoffMachine is removed and merged into std.coff.fromTargetCpuArch, making it more...

This proposal is to merge `std.math.absCast`, `std.math.absInt`, and `@fabs` that currently only accepts floats and vectors of floats into an `@abs` and make that `@abs` additionally accept integers too as...

This is a follow-up issue to this discussion: https://github.com/ziglang/zig/pull/15879#discussion_r1208557275 Here's an example of this possibly problematic pattern that is found in many places in the compiler and the std: ```zig...

When trying to compile ```zig export fn x() u0 { return 0; } ``` a panic happens only with a debug build of the compiler: ``` src/Sema.zig:23338:43: 0x9395c1 in explainWhyTypeIsNotExtern...