Go won't vendor C files if there are no Go files present in the directory. Workaround is to add dummy Go files. Fixes: #20232
		
			
				
	
	
		
			8 lines
		
	
	
		
			205 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
		
			205 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| // +build dummy
 | |
| 
 | |
| // Package c contains only a C file.
 | |
| //
 | |
| // This Go file is part of a workaround for `go mod vendor`.
 | |
| // Please see the file crypto/secp256k1/dummy.go for more information.
 | |
| package include
 |