Skip to content

Commit 50282b0

Browse files
committed
fix: compile instrument-hooks generated C with -std=c11
1 parent f6291c8 commit 50282b0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

go-runner/overlay/instrument-hooks.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package testing
22

33
/*
4-
#cgo CFLAGS: -I@@INSTRUMENT_HOOKS_DIR@@/includes -Wno-format -Wno-format-security -Wno-incompatible-pointer-types
4+
#cgo CFLAGS: -std=c11 -I@@INSTRUMENT_HOOKS_DIR@@/includes -Wno-format -Wno-format-security -Wno-incompatible-pointer-types
55
#include "@@INSTRUMENT_HOOKS_DIR@@/dist/core.c"
66
*/
77
import "C"

0 commit comments

Comments
 (0)