This fixes #6702 by adding the captures for Go, C, C++, and Zig. Witness-by: David <dammerung2718@icloud.com>