Taeer Bar-Yam

Results 161 comments of Taeer Bar-Yam

Okay, it seems indeed that this is a general thing. any time you have ```zig const c = @cImport({ @cDefine("foo", "1"); @cUndef("foo"); @CDefine("foo", "2"); }); ``` It's going to correctly...

I have a pretty janky workaround: ```zig @cImport({ @cDefine("true", "(_Bool)1"); @cDefine("false", "(_Bool)0"); @cInclude("stdbool.h"); @cUndef("true"); @cUndef("false"); @cDefine("true", "(_Bool)1"); @cDefine("false", "(_Bool)0"); // other @cInclude()s that use stdbool.h... }); ``` A couple of...

It generates ``` pub const @"true" = @import("std").zig.c_translation.cast(bool, @as(c_int, 1)); pub const @"false" = @import("std").zig.c_translation.cast(bool, @as(c_int, 0)); ``` Which is kind of goofy, but does work.

I might be responsible for this part of the interface. It was a while ago, so I don't remember. It's worth noting that I work mostly in Nix these days,...

Requesting access [29 merged PRs in nixpkgs](https://github.com/NixOS/nixpkgs/pulls?q=is%3Apr+author%3Aradvendii+is%3Amerged+) [9 merged PRs in nix](https://github.com/NixOS/nix/pulls?q=is%3Apr+is%3Amerged+author%3Aradvendii+) Email: `taeer` @ `bar-yam` . `me`

After building, timing rebuilds ``` nix build --rebuild 11.47s user 7.26s system 0% cpu 46:18.30 total nix build --rebuild --log-format raw-with-logs 1.72s user 3.40s system 0% cpu 39:21.84 total ```...

I looked at hyperfine a bit. Indeed it seems to swallow the program's stdout by default, which entirely removes the slowdown behaviour. You need to add the `--show-output` flag.

Oh. As I feared there's an error on Mac. Does anyone who uses mac have an insight into what's going on? error is here https://github.com/NixOS/nix/runs/6275913110?check_suite_focus=true#step:6:1635

never mind? error seems to have magically disappeared.

Right now `$BASH` and `$SHELL` are still set to the same value they were before. This was a while ago, so I don't remember our reasoning exactly. Was it deliberate...