Skip to content

Commit 4cf8ad2

Browse files
ZauberNerddeadprogram
authored andcommitted
Update libclang installation comment to libclang-13-dev
Tinygo bumped the default llvm version to v13 in: 3a4e0c9
1 parent 96c60f9 commit 4cf8ad2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cgo/libclang.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import (
1616
)
1717

1818
/*
19-
#include <clang-c/Index.h> // if this fails, install libclang-11-dev
19+
#include <clang-c/Index.h> // if this fails, install libclang-13-dev
2020
#include <stdlib.h>
2121
#include <stdint.h>
2222

cgo/libclang_stubs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// are slightly different from the ones defined in libclang.go, but they
44
// should be ABI compatible.
55

6-
#include <clang-c/Index.h> // if this fails, install libclang-11-dev
6+
#include <clang-c/Index.h> // if this fails, install libclang-13-dev
77

88
CXCursor tinygo_clang_getTranslationUnitCursor(CXTranslationUnit tu) {
99
return clang_getTranslationUnitCursor(tu);

0 commit comments

Comments
 (0)