David Rubin
David Rubin
> i dont understand why the macos release CI failed, did it fail to run? #20473
I think that `@shlWithOverflow` should return `struct{ @TypeOf(a), std.meta.Int(.unsigned, b) }` instead. In an example such as `@shlWithOverflow(@as(u64, x), 32)`, the maximum amount the overflow could be is `u32`. This...
> I think that `@shlWithOverflow` should return `struct{ @TypeOf(a), std.meta.Int(.unsigned, b) }` instead. > > In an example such as `@shlWithOverflow(@as(u64, x), 32)`, the maximum amount the overflow could be...
Zig supports a minimum linux kernel of 4.19, and CentOS 5.8 would be using something like 2.8 or 3.5?
@mlugg mind opening issues for the riscv items, I would like to handle them.
I'm not a core member, but I would like to add my two cents. This is a very sensitive topic that requires an extremely rigorous definition, which the [cppreference](https://en.cppreference.com/w/cpp/atomic/memory_order) already...
LLVM IR reduction: ```llvm target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: naked define void @empty.hello(ptr %0) #0 { Entry: %1 = load i32, ptr %0, align...
> oh, wait, maybe verify it's not fixed on llvm 19 first lol It's not: ``` ❯ ~/local/llvm19-debug/bin/llc test.ll Can't get register for value! UNREACHABLE executed at /Users/david/Code/llvm-project/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp:1959! PLEASE submit...
Well actually, it seems they fixed it at some point between 19-master: https://zig.godbolt.org/z/63oWfMh9G Why do we allow arguments in naked functions again?
> I'm not sure what will happen if there are two different lengths of the same type - I'm not sure what @typeof would do for that. `@TypeOf()` would compile-error...