Skip to content

Conversation

@felipensp
Copy link
Member

No description provided.

@huly-for-github
Copy link

Connected to Huly®: V_0.6-26128

@spytheman spytheman marked this pull request as ready for review October 6, 2025 07:30
Copy link
Member

@spytheman spytheman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent work.

if sym.kind == .none && (!g.pref.skip_unused || g.table.used_features.used_none > 0) {
g.type_definitions.writeln('struct none {')
g.type_definitions.writeln('\tEMPTY_STRUCT_DECLARATION;')
g.type_definitions.writeln('\tE_STRUCT_DECL;')
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
g.type_definitions.writeln('\tE_STRUCT_DECL;')
g.type_definitions.writeln('\tVESTD;')

Copy link
Member

@spytheman spytheman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent work.

@spytheman spytheman merged commit 7d974a1 into vlang:master Oct 6, 2025
83 checks passed
@felipensp felipensp deleted the cleanup_c_code_generated_again branch October 6, 2025 10:55
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