diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2026-02-23 10:07:47 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2026-02-23 09:23:28 +0000 |
| commit | 7c9658af8505abccd5bf5890cc8a8e6d9826eaa0 (patch) | |
| tree | 19847fa82a53c1bcb43870a39338f7cf58572643 /tools/clang/codesearch/codesearch.cpp | |
| parent | 6e7b5511445a3ccf42ec9b77a5844fa4e1f4fcec (diff) | |
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
Diffstat (limited to 'tools/clang/codesearch/codesearch.cpp')
| -rw-r--r-- | tools/clang/codesearch/codesearch.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/clang/codesearch/codesearch.cpp b/tools/clang/codesearch/codesearch.cpp index 00eac7c4c..8da7f4f74 100644 --- a/tools/clang/codesearch/codesearch.cpp +++ b/tools/clang/codesearch/codesearch.cpp @@ -4,6 +4,8 @@ // Clang-based tool that indexes kernel source code to power // pkg/aflow/tool/codesearcher/codesearcher.go agentic tool. +//go:build linux + #include "json.h" #include "output.h" |
