Mitchell Hashimoto

Results 118 comments of Mitchell Hashimoto

Noting that this is blocking Ghostty from adopting the package manager. The following projects are all too build to big: - libxml2 - harfbuzz - Mach's xcode-frameworks

Oh you're right... very strange. Maybe this isn't the right codepath. My minimal reproduction is a build.zig that just does `step.linkSystemLibrary("gtk4")` with an empty C file. If I manually add...

For my exe, if I remove this, the build fails (Zig 0.11): ```zig if (step.target.isLinux()) { const triple = try step.target.linuxTriple(b.allocator); step.addLibraryPath(.{ .path = b.fmt("/usr/lib/{s}", .{triple}) }); } ``` I'll...

I support this request and you likely already thought of this, but maybe introducing a [hopefully temporary] global mutex on this step for now.

> WDYM by "other function signatures do work fine" ? which functions are you changing signatures ? I mean that if you `ptrCast` other type signatures (where the func expects...

> The LLVM backend is completely ignoring the `@ptrCast` because it is done on a comptime-known value. The issue can be worked around by making `new_fn` mutable. That does work...

@Vexu https://github.com/ziglang/zig/issues/13605 Here is another issue where `var` doesn't fix it. I opened it as another issue since it seems to be slightly different since `var` _does_ fix this but...

Well god damn this is cool. I'll have to give this a shot.

The answer actually is to either use `begin/rescue`, which can get nasty because you need to do it everywhere, or to use something like Vagrant's [Warden](https://github.com/mitchellh/vagrant/blob/6ddb560205f6d734e332ed73cc60bae10217b72f/lib/vagrant/action/warden.rb) (don't try to understand...

Awesome. Well eventually I'll pull the Warden behavior into here so you can use it. :) I want to get Vagrant working against this gem instead of using the built-in,...