File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -72,12 +72,11 @@ func isKnown(directive string) bool {
72
72
return false
73
73
}
74
74
75
+ // Found by running the following command on the source of go.
76
+ // git grep -o -E -h '//go:[a-z_-]+' -- ':!**/*_test.go' ':!test/' ':!**/testdata/**' | sort -u
77
+ // See https://pkg.go.dev/cmd/[email protected] #hdr-Compiler_Directives
75
78
var known = []string {
76
- // Found by running the following command on the source of go.
77
- // git grep -o -E -h '//go:[a-z_]+' -- ':!**/*_test.go' ':!test/' ':!**/testdata/**' | sort -u
78
- "binary" ,
79
79
"build" ,
80
- "buildsomethingelse" ,
81
80
"cgo_dynamic_linker" ,
82
81
"cgo_export_dynamic" ,
83
82
"cgo_export_static" ,
@@ -89,7 +88,6 @@ var known = []string{
89
88
"embed" ,
90
89
"generate" ,
91
90
"linkname" ,
92
- "name" ,
93
91
"nocheckptr" ,
94
92
"noescape" ,
95
93
"noinline" ,
@@ -102,5 +100,7 @@ var known = []string{
102
100
"systemstack" ,
103
101
"uintptrescapes" ,
104
102
"uintptrkeepalive" ,
103
+ "wasmimport" ,
104
+ "wasmexport" ,
105
105
"yeswritebarrierrec" ,
106
106
}
You can’t perform that action at this time.
0 commit comments