Carl Åstholm

Results 28 comments of Carl Åstholm

I don't have especially strong feelings for this operator, but I don't really see any big problems with it either. `x

Interestingly, the behavior for `

Is there a strong motivation for this beyond a desire to align source code? Keep in mind that you can disable the auto-canonicalization with `// zig fmt: off`. The original...

I've read the issue description and the discussion a few times over and I'm not sure I understand exactly what is being asked for, but I believe the functionality you...

> Assuming i only have a `std.fs.Dir` and a relative path available, and i want to call into a foreign function that only takes `char const * path`, what is...

> was the addition of the `simple` directory intentional? Yes, I moved all of the simple test cases to their own directory to make it a bit more clear that...

@plajjan Could you provide an example of how you generate these dependencies? Assuming https://github.com/actonlang/acton is the project you're talking about, I had a quick look at it. Am I understanding...

@plajjan I do believe there are multiple of ways of supporting your use case without `anonymousDependency`, but which strategy to suggest depends a lot on the exact details of how...

@plajjan > The relevant part in our build.zig is at https://github.com/actonlang/acton/blob/main/builder/build.zig#L321, included here: It might be worth noting that build.zig's `build` function is intended to be declaractive and that (at...

> Wouldn't `suggestVectorLen` fit better here to parallel `.len` on arrays and slices? No opinion, but I should add I went with "length" because that file already had a function...