mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-19 12:04:03 +00:00
all: initial support for LLVM 21
This commit is contained in:
@@ -21,6 +21,10 @@ import (
|
||||
)
|
||||
|
||||
/*
|
||||
// Hide a warning in LLVM 21 that doesn't apply to us (appears to be a side
|
||||
// effect of how CGo processes C header files).
|
||||
#cgo CFLAGS: -Wno-deprecated-declarations
|
||||
|
||||
#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 <llvm/Config/llvm-config.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
Reference in New Issue
Block a user