Matheus C. França
Matheus C. França
Currently, just replace libcpp to libc. It will compile without any errors!! An example of this is the test with xwin for hermetic build.
This is being ambiguous in this example. ```zig try foo() catch |err| { return err; }; ``` If you are going to use `catch`, it does not require the `try`...
Maybe missing, `-lunwind` (EH ABI) or try replacing `-lc` to `-lc++`. Also, for zig triple-target `arch-linux-gnu`, remove unknown
To solve the access problem in Alpine, I needed to create a user. https://github.com/kassane/docker-zig/blob/9b24ba6c979c3aa8fa6835d5eeaf1613ca219f1f/alpine/master/Dockerfile#L45
> What about `--libc ` and `zig libc`? This reminds me a reference from Andrew. - https://github.com/ziglang/zig/issues/514#issuecomment-467172534 When it comes to C code, it's common to use `-nostdlib` and `-nostdinc`,...
Hi @RossComputerGuy , Sorry for the delay in responding. Yes, I've been having problems with linking, specifically link scripting with `lld` instead of `gnu-ld`. Picolibc has a modification to generate...
Please, try replacing to `zig cc` over `zig c++` or `zig build-exe -lc` no `-lc++` Zig toolchain can't build `libcxx` for MSVC yet. ### Reference - https://github.com/ziglang/zig/issues/5312
Currently, Zig allows you to switch between lld or [zld](https://github.com/kubkon/zld) (WiP) using the `-fno-lld/-flld` flags. - https://github.com/ziglang/zig/issues/8726 However, with `zig cc` It really doesn't allow you to use the command...
Ref: #14795
@rofrol, nice update. Now, I just tried this same link and got this error with the version: `0.11.0-dev.1327+b42bd759a` ```bash ./httpClient https://onet.pl/ error: TlsCertificateNotVerified /home/kassane/.local/lib/zig/std/crypto/tls/Client.zig:493:49: 0x26a9af in init__anon_5905 (httpClient) .certificate =>...