diff options
author | Ayke van Laethem <[email protected]> | 2022-03-12 20:34:25 +0100 |
---|---|---|
committer | Ron Evans <[email protected]> | 2022-03-12 21:17:29 +0100 |
commit | 320f21524ec3ab884372dc6ca4e1ce6356ad9302 (patch) | |
tree | 62b3746a24ea049175bbef69f354820801dd5819 /cgo/libclang.go | |
parent | 41170556114a1a9c63fe49c484517a1bb6f3418f (diff) | |
download | tinygo-320f21524ec3ab884372dc6ca4e1ce6356ad9302.tar.gz tinygo-320f21524ec3ab884372dc6ca4e1ce6356ad9302.zip |
cgo: slightly improve error messages
Updating them to libclang-13-dev was a good change, but we can go even
further:
* The suggestion didn't apply to MacOS.
* The suggestion would need to be updated with every LLVM release,
which is a maintenance burden.
* The suggestion is wrong when compiling with `-tags=llvm12` for
example to choose a different LLVM version.
Therefore, link to the build documentation instead.
Diffstat (limited to 'cgo/libclang.go')
-rw-r--r-- | cgo/libclang.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cgo/libclang.go b/cgo/libclang.go index 5a11601bb..f0663794f 100644 --- a/cgo/libclang.go +++ b/cgo/libclang.go @@ -16,7 +16,7 @@ import ( ) /* -#include <clang-c/Index.h> // if this fails, install libclang-13-dev +#include <clang-c/Index.h> // If this fails, libclang headers aren't available. Please take a look here: https://tinygo.org/docs/guides/build/ #include <stdlib.h> #include <stdint.h> |