Skip to content

cgo: emit one AST comment per pragma - #5895

Merged
davecheney merged 1 commit into
tinygo-org:devfrom
davecheney:cgo-pragma-comments
Oct 16, 2026
Merged

davecheney merged 1 commit into
tinygo-org:devfrom
davecheney:cgo-pragma-comments

Conversation

@davecheney

Copy link
Copy Markdown
Contributor

Keep //go:variadic and //go:noescape in separate AST comments so stricter pragma checks do not treat the second directive as a parameter.

Keep //go:variadic and //go:noescape in separate AST comments so stricter
pragma checks do not treat the second directive as a parameter.
@davecheney
davecheney merged commit 3c2f2cd into tinygo-org:dev Oct 16, 2026
33 checks passed
@davecheney
davecheney deleted the cgo-pragma-comments branch October 16, 2026 08:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants