Skip to content

chore: suppress clangd target triple version diagnostic#21180

Merged
ludamad merged 2 commits intomerge-train/barretenbergfrom
claudebox/fix-clangd-target-triple
Mar 5, 2026
Merged

chore: suppress clangd target triple version diagnostic#21180
ludamad merged 2 commits intomerge-train/barretenbergfrom
claudebox/fix-clangd-target-triple

Conversation

@AztecBot
Copy link
Collaborator

@AztecBot AztecBot commented Mar 5, 2026

On Ubuntu 22 (glibc 2.35), stock clangd auto-detects the target triple as native-unknown-linux-gnu.2.35. Newer clang versions validate the version component more strictly and reject .2.35 as invalid, producing:

Version '.2.35' in target triple 'native-unknown-linux-gnu.2.35' is invalid
clang(drv_triple_version_invalid)

This adds a Diagnostics: Suppress entry to the existing .clangd config to silence this diagnostic. It only affects the clangd language server (IDE), not the actual build which uses zig clang.

ClaudeBox log: http://ci.aztec-labs.com/01115b8f744a5b49-4

@AztecBot AztecBot added the claudebox Owned by claudebox. it can push to this PR. label Mar 5, 2026
@ludamad ludamad changed the base branch from next to merge-train/barretenberg March 5, 2026 17:21
@ludamad ludamad marked this pull request as ready for review March 5, 2026 17:22
@ludamad ludamad merged commit 8f7e0bf into merge-train/barretenberg Mar 5, 2026
2 checks passed
@ludamad ludamad deleted the claudebox/fix-clangd-target-triple branch March 5, 2026 17:23
github-merge-queue bot pushed a commit that referenced this pull request Mar 6, 2026
BEGIN_COMMIT_OVERRIDE
fix: add -g0 to zig presets to eliminate 11GB debug info bloat (#21071)
fix: resolve flaky p2p_client test race condition on ARM64 (#21088)
chore: remove domain iteration macros and address backing memory race
(#20988)
fix: [ECCVM] added domain separation for the multiset equality check.
(#20352)
feat: hybrid CRS hash verification — 8MB chunks, parallel, span-based
(#21113)
chore: unify splitting scalars interface (#20805)
chore: add a unique id to each origin tag (#20924)
chore: Native curve audit (#20936)
chore: Update bootstrap in test vk haven't changed script (#21153)
fix: use reduced form in WASM FromMontgomeryForm test (#21164)
chore: erase ephemeral secrets from memory in schnorr and aes (#21106)
chore: suppress clangd target triple version diagnostic (#21180)
feat: Optimise new claim calculation (#21179)
docs: add Quick Start build instructions to barretenberg README (#20951)
feat: batched chonk verification (#21083)
fix: link libc++ instead of libstdc++ for Rust FFI on Linux (#21203)
fix: [ECCVM] in the transcript table, no-ops force the next accumulator
to be 0. (#20849)
fix: resolve merge-train conflict with next (zig wrapper scripts + -g0)
(#21201)
fix: [ECCVM] rare edge case completeness issue when `z1 == 0` but `z2 !=
0` (#20858)
fix: use actual data extent for CommitmentKey in HypernovaDeciderProver
(#21206)
END_COMMIT_OVERRIDE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

claudebox Owned by claudebox. it can push to this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants