Wooster

Results 58 issues of Wooster

This adds a function to `std.fs.path` returning the stem of the given path. I think this is a worthwhile addition in the long term. It's a pretty common function for...

A primary use case for this is that I can easily conditionally not add an argument. This demonstrates roughly what I want to do in my build.zig: ```zig b.getInstallStep().dependOn( &b.addSystemCommand(...

This is a follow-up to #10113: https://github.com/ziglang/zig/issues/10113#issuecomment-1241789307 We need an addition to the language that allows us to specify the alignment of `extern struct`s. The UEFI libs are particularly broken...

proposal

I think it'd be cool if we could have a basic lerp function in the std.

### Zig Version 0.10.0-dev.4418+99c3578f6 ### Steps to Reproduce #12079 apparently exposed an interesting C ABI issue for MIPS Linux that @topolarity found where when trying to run tests like this...

bug
standard library
os-linux
arch-mips

https://user-images.githubusercontent.com/35064754/178306069-dd094047-a2b7-4dfe-a376-3b42ec2a7c3c.mp4 Here's why I think Zig might be attractive to language devs as a language to compile to: - Zig compiles quickly (and will only get quicker in the future)....

It's slightly different from what I described in the PR description of https://github.com/oven-sh/bun/pull/535. Now `Global.exit()` means successful exit, `Global.crash()` retains its meaning of unsuccessful exit, and `Global.exitOther(n)` is used for...

I wrote this after #12448 got merged but decided to wait for 0.10.0 to be released before pulling it. Now I've decided to pull it a bit earlier since 0.10.0...

I propose adding a function with a name such as `setAbortSignalHandler` to `std.debug`. ## Motivation `std.debug.setAbortSignalHandler` is supposed to make it easier to catch an abort signal (mainly caused by...

standard library
proposal

This fixes the broken terminal for me and thus fixes #13198. Source: https://github.com/torvalds/linux/blob/9abf2313adc1ca1b6180c508c25f22f9395cc780/arch/mips/include/uapi/asm/ioctls.h