Matheus C. França

Results 213 comments of Matheus C. França

If it is possible to review it, thank you. @emilio I haven't solved the comptime issue yet, due to the fact that I need to refactor `ty.rs` in the arguments...

Zig version: `0.10.0-dev.4253+fa9327ac0` Same error on [zig-sqlite - build test](https://github.com/vrischmann/zig-sqlite) ```bash Compile C Objects [1/1] sqlite3.c... ar rcs /home/kassane/Downloads/Code/zig-sqlite/zig-cache/o/bf3ff99ef3abbbffae18a10f9ee5cf36/sqlite.lib /home/kassane/Downloads/Code/zig-sqlite/zig-cache/o/c9e997c865096ebaf2f499eba0665592/sqlite3.obj LLD Link... lld-link -ERRORLIMIT:0 -NOLOGO -DEBUG -STACK:16777216 -MACHINE:X86 -INCLUDE:_tls_index -OUT:/home/kassane/Downloads/Code/zig-sqlite/zig-cache/o/ab926772cd2c769465ca7de4223ad45d/test.exe...

Zig version: Master (0.11.0-dev.12+ebf9ffd34) Project test: https://github.com/kassane/zig-pkcs11 (wip) I encounter something similar in the lib below. But there was a difference that in the CI (GH actions) another error code...

> Modern libraries on Linux use DT_GNU_HASH and not DT_HASH, and apparently aren't even inserting the old hash table in the binary anymore. It seems DynLib doesn't handle that yet....

The zig did not recognize these extensions. `hpp` or `foo` https://github.com/ziglang/zig/blob/master/src/Compilation.zig#L4170-L4201

Similar problem. - https://github.com/messense/cargo-zigbuild/issues/70

If you want you can try this: - #11

The cgo is handled automatically by `go build`, provided it has the default flag `CGO_ENABLED=1`.

- https://github.com/ziglang/zig/issues/10372

Clang/`zig cc` generate json file: > -MJ Write a compilation database entry per input src: [clang doc](https://clang.llvm.org/docs/ClangCommandLineReference.html#cmdoption-clang-mj-arg) `compile_commans.json` File Contents ```json { "directory": "/home/kassane/FastFEC", "file": "src/main.c", "output": "/home/kassane/.cache/zig/tmp/cc83b769addb89b2-main.o", "arguments": [...