Dave Syer

Results 522 comments of Dave Syer

You are right that it is a mistake I think, but wrong about the return value - it is better to render the owner details directly if there is an...

The PR was closed without merging so the issue still exists but it's not hugely pressing. Another PR would probably be fine.

I'm on Linux (with Nix for the toolchain) I don't think it matters which version of Graal. I made some notes here (including a hacky workaround): https://github.com/scratches/graal-nix-test.

Yes. Otherwise neither the hacky solution nor the `main.c` example from the notes would have worked.

Yes, that works. There's a deprecation warning though, so I wouldn't want to rely on it. Is there another way? ``` Warning: The NATIVE_IMAGE_DEPRECATED_BUILDER_SANITATION environment variable is deprecated and might...

I see. Isn't that a bug in native-image though? It is removing stuff from my environment that I don't even control, without asking, and which breaks its own build process....

> With that in mind, I wouldn't recommend that you blindly forward all NIX* env vars. That makes it look even more like a bug to me. How am I...

I don't even care about my C toolchain - I wouldn't even have one if native-image didn't require it. I just want a native image from my Java app. You...

FWIW just these three seem to work for my trivial sample: `-ENIX_CFLAGS_COMPILE -ENIX_LDFLAGS -ENIX_CC_WRAPPER_TARGET_HOST_x86_64_unknown_linux_gnu`. But I have no idea if that is always the case. UPDATE: also works with just...

No, that doesn't work. Adding `NIX_CFLAGS_COMPILE` (with or without the `*TARGET_HOST*` doesn't change anything).