Motiejus Jakštys

Results 91 comments of Motiejus Jakštys

> However, might I suggest that the link is resolved prior to setting the environment variable? For example, this solves the problem: Unfortunately, the Bazel's symlink to zig's `lib` is...

In other words, I am looking for the right `ZIG_LIB_DIR`, so the result of `zig cc -M file.c` contains only relative paths.

They are relative when ZIG_LIB_DIR is relative; which is the correct behavior. Our discussion was making ZIG_LIB_DIR absolute.

A reminder of what we agreed in person: 1. `ZIG_LIB_DIR` is absolute, and we resolve the symlinks before invoking `zig cc` (so zig's caching system always knows they are the...

Here is a more detailed explanation of the context we are dealing with: how Bazel manages dependencies and cache and why it matters. Environment ----------- [bazel-zig-cc][1] downloads Zig to a...

> Hmm I'm actually not able to reproduce the problem. Here is an attempt where I am getting what I understand to be the desired behavior, based on our discussion:...

I spent a couple of days investigating the intersection of bazel and zig-cc with regards to build performance issues. There is one more aspect to it: 1. By default, Bazel...

Another data point: besides Go tests, this causes `luajit` checks to fail: https://www.freelists.org/post/luajit/unable-to-compile-luajit-since-e1319361-with-zigcc,1 This is the referenced line: ``` echo 'extern void b(void);int a(void){b();return 0;}' | $(TARGET_CC) -c -x c...

I started working on this. Question asked originally on IRC: I have two options: 1. swallow stdin to a tempfile and treat it as a regular C file all throughout...

There are more inconsistencies between applets. This is from today's `docker://gcr.io/distroless/preview/base-nossl-debian11:debug-amd64`: ``` $ comm -3