Matheus C. França
Matheus C. França
Already discussed previously: - https://github.com/slint-ui/slint/discussions/142 In order to avoid rework, it would be more viable to replace [cbindgen](https://github.com/mozilla/cbindgen)(generate pure C code[1] or mixed C/C++[2] - defined in slintUI [2]) to...
Taking advantage of the Zig toolchain topic. I haven't seen any reference about libc++ yet as it is statically linked by default in Zig on all LLVM targets. What is...
Yes. By adding `-lc++` or `.linkLibCpp()` it is linked by default to llvm-libcxx (static only). So, bdwgc supports it has no restriction in C++ABI. Right? If there was any favoring...
also, add msvc support using zig-build. ```zig // zig v0.12.0 - for C++ build on msvc or gnu // https://github.com/ziglang/zig/issues/5312 if (exe.rootModuleTarget().abi != .msvc) exe.linkLibCpp() // libc++ + libunwind [static]...
> It would be good to add building of libgccpp.so, libgctba.so and cpptest to build.zig (at least to have a working sample of C++ support). ~~My sample: https://github.com/kassane/bdwgc-d/commit/9944b658a3c9592ca38189dea700af59d1282dfb~~ ~~CI: https://github.com/kassane/bdwgc-d/actions/runs/8741234879~~...
`zig c++` unlike conventional clang uses `llvm-libcxx` (static-linking) by default to all targets. However, `-stdlib=libstdc++` or `-fuse-ld=ld` flag's don't work. ```bash zig: warning: argument unused during compilation: '-fuse-ld=ld' [-Wunused-command-line-argument] zig:...
Hi @mangas & @vshymanskyy My patch for [v0.12.0](https://github.com/ziglang/zig/milestone/23) diff-patch ```diff diff --git a/build.zig b/build.zig index 6679f06..0d99eff 100644 --- a/build.zig +++ b/build.zig @@ -1,39 +1,82 @@ const std = @import("std"); -pub...
> One more bindings project to add on the above list: https://github.com/nurpax/zig-imgui This is great! You might also try adding `cimgui` and `imgui` to the `zon` file if you look...
> Deprecated doesn't imply removed immediately https://github.com/ziglang/zig/blob/e19219fa0e0a563dfda4a5f00737e0aadd7ca44e/lib/std/std.zig#L198 build alias has removed. see: https://github.com/ziglang/zig/commit/142471fcc46070326526e3976f0150fe734df0b6#diff-79f63a2ce591380c4ec317daf5a0566972135f67b1b39c7173ddbe765d5446a0 Suggestion (based on andrewrk nasm fork): ```zig const build_rename = std.SemanticVersion.parse("0.12.0-dev.1377+3fc6fc681") catch unreachable; const Build = if...
However, it is now affecting other targets. ```bash /Users/runner/hostedtoolcache/zig/zig-macos-x86_64-0.11.0-dev.771+5d3adc568/x64/lib/std/build/LibExeObjStep.zig:22:28: error: 'VcpkgRoot' is not marked 'pub' const VcpkgRoot = std.build.VcpkgRoot; ~~~~~~~~~^~~~~~~~~~ /Users/runner/hostedtoolcache/zig/zig-macos-x86_64-0.11.0-dev.771+5d3adc568/x64/lib/std/build.zig:1472:1: note: declared here const VcpkgRoot = union(VcpkgRootStatus) { ^~~~~...