Update libclang installation comment to libclang-13-dev
Tinygo bumped the default llvm version to v13 in: tinygo-org/tinygo@3a4e0c9
Этот коммит содержится в:
родитель
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 <stdint.h>
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
// are slightly different from the ones defined in libclang.go, but they
|
||||
// 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) {
|
||||
return clang_getTranslationUnitCursor(tu);
|
||||
|
|
Загрузка…
Создание таблицы
Сослаться в новой задаче