kassane / vswhom-zig

Pure zig-FFI to Jon Blow's VS discovery script
MIT License
0 stars 0 forks source link

Missing VSPath: Segfault #1

Open kassane opened 1 year ago

kassane commented 1 year ago

In the example run on the CI, there doesn't seem to be a problem. However, if running on the system without detecting the VS installation when running the test or trying to print it, a segfault occurs.

This binding is just an initial experiment that can be ported exclusively in zig.

cc: @nabijaczleweli @princessakokosowa


Another references:

https://github.com/ziglang/zig/blob/master/src/windows_sdk.zig https://github.com/ziglang/zig/blob/master/src/windows_sdk.cpp

nabijaczleweli commented 1 year ago

idk. there's this: https://github.com/nabijaczleweli/rust-embed-resource/issues/20#issuecomment-686496753, so all i can say here is "yes"