LemonBoy
LemonBoy
Two problems here, the first being that `getSelfExeSharedLibPaths` returns an empty array because `builtin.link_mode==static`, even though the final `zig` binary is _not_ static. The second is trickier as `/usr/bin/env` has...
> Does the latter problem mean Zig should search the other places like DT_RPATH, LD_LIBRARY_PATH, /lib and /usr/lib similar to ld? Shit hits the fan pretty quickly if you want...
@vesim987, whats the output of `readelf -d /usr/bin/env`?
Perhaps it's time to reconsider whether the extra-smart, super-complex and fallible heuristic used here is pulling its own weight. A simpler detection method would be to invoke `ldd --version` and...
> I think syntax like v4f32 or f32x4 is easier to read and much better for the common case of non-pointer vectors. I like the v syntax, it feels a...
> The problem with v4xf32 and f32x4 though is that the compiler still needs to generate calls to std.meta.Vector (or a long chain of builtin calls like with error set...
> This syntax doesn't allow for vectors of pointers, or vectors of some aliased type. I always forget of the vectors of pointers, thanks for reminding me.
`[N]vec T` is inconsistent with the array syntax, here `vec` applies to the whole thing while other modifiers such as `const` affect the type. If you want to stretch this...
> @LemonBoy, could you clarify? I was thinking of [N]vec as an atomic modifier just like const, [N:0] or anything else. `[N]const T` is a N-element array of `const T`...
```c #include int main() { (void)gai_strerror(666); return 0; } ```