From 7c9658af8505abccd5bf5890cc8a8e6d9826eaa0 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Mon, 23 Feb 2026 10:07:47 +0100 Subject: tools/clang: build clang tools on linux only This will hopefully prevent: imports github.com/google/syzkaller/tools/clang/codesearch: C++ source files not allowed when not using cgo or SWIG: codesearch.cpp --- tools/clang/declextract/declextract.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tools/clang/declextract/declextract.cpp') diff --git a/tools/clang/declextract/declextract.cpp b/tools/clang/declextract/declextract.cpp index 620c81f17..172e7d245 100644 --- a/tools/clang/declextract/declextract.cpp +++ b/tools/clang/declextract/declextract.cpp @@ -1,6 +1,8 @@ // Copyright 2024 syzkaller project authors. All rights reserved. // Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. +//go:build linux + #include "json.h" #include "output.h" -- cgit mrf-deployment