aboutsummaryrefslogtreecommitdiffhomepage
path: root/cgo/libclang.go
diff options
context:
space:
mode:
authorAyke van Laethem <[email protected]>2020-03-03 14:50:13 +0100
committerRon Evans <[email protected]>2020-04-09 20:23:51 +0200
commit0afd42c439323b12faeac62fd75c3ec8d7db9e6e (patch)
treed683db6807aa416096b1e94e05aecdc2ccd6aae7 /cgo/libclang.go
parent584e94ce2f55e6fe39ee68189629575b8e47591d (diff)
downloadtinygo-0afd42c439323b12faeac62fd75c3ec8d7db9e6e.tar.gz
tinygo-0afd42c439323b12faeac62fd75c3ec8d7db9e6e.zip
main: switch to LLVM 10
This commit also adds a bit of version independence, in particular for external commands. It also adds the LLVM version to the `tinygo version` command, which might help while debugging.
Diffstat (limited to 'cgo/libclang.go')
-rw-r--r--cgo/libclang.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cgo/libclang.go b/cgo/libclang.go
index 3aaded21e..3d7695b5e 100644
--- a/cgo/libclang.go
+++ b/cgo/libclang.go
@@ -15,7 +15,7 @@ import (
)
/*
-#include <clang-c/Index.h> // if this fails, install libclang-9-dev
+#include <clang-c/Index.h> // if this fails, install libclang-10-dev
#include <stdlib.h>
#include <stdint.h>