Update libclang installation comment to libclang-13-dev

Tinygo bumped the default llvm version to v13 in:
tinygo-org/tinygo@3a4e0c9
Этот коммит содержится в:
ZauberNerd 2022-03-10 18:32:23 +00:00 коммит произвёл Ron Evans
родитель 96c60f9692
коммит 4cf8ad2bee
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -16,7 +16,7 @@ import (
) )
/* /*
#include <clang-c/Index.h> // if this fails, install libclang-11-dev #include <clang-c/Index.h> // if this fails, install libclang-13-dev
#include <stdlib.h> #include <stdlib.h>
#include <stdint.h> #include <stdint.h>

Просмотреть файл

@ -3,7 +3,7 @@
// are slightly different from the ones defined in libclang.go, but they // are slightly different from the ones defined in libclang.go, but they
// should be ABI compatible. // should be ABI compatible.
#include <clang-c/Index.h> // if this fails, install libclang-11-dev #include <clang-c/Index.h> // if this fails, install libclang-13-dev
CXCursor tinygo_clang_getTranslationUnitCursor(CXTranslationUnit tu) { CXCursor tinygo_clang_getTranslationUnitCursor(CXTranslationUnit tu) {
return clang_getTranslationUnitCursor(tu); return clang_getTranslationUnitCursor(tu);