Hopefully this won't break anybody: while all tests still pass, there could in theory be systems where not supplying those libraries leads to linker errors.
		
			
				
	
	
		
			15 строки
		
	
	
	
		
			541 Б
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			15 строки
		
	
	
	
		
			541 Б
		
	
	
	
		
			Go
		
	
	
	
	
	
//go:build !byollvm && llvm15
 | 
						|
 | 
						|
package cgo
 | 
						|
 | 
						|
/*
 | 
						|
#cgo linux        CFLAGS:  -I/usr/lib/llvm-15/include
 | 
						|
#cgo darwin,amd64 CFLAGS:  -I/usr/local/opt/llvm@15/include
 | 
						|
#cgo darwin,arm64 CFLAGS:  -I/opt/homebrew/opt/llvm@15/include
 | 
						|
#cgo freebsd      CFLAGS:  -I/usr/local/llvm15/include
 | 
						|
#cgo linux        LDFLAGS: -L/usr/lib/llvm-15/lib -lclang
 | 
						|
#cgo darwin,amd64 LDFLAGS: -L/usr/local/opt/llvm@15/lib -lclang
 | 
						|
#cgo darwin,arm64 LDFLAGS: -L/opt/homebrew/opt/llvm@15/lib -lclang
 | 
						|
#cgo freebsd      LDFLAGS: -L/usr/local/llvm15/lib -lclang
 | 
						|
*/
 | 
						|
import "C"
 |