Skip to content

Conversation

@luoliwoshang
Copy link
Member

@luoliwoshang luoliwoshang commented Jun 26, 2025

part of #179

  • 在代码生成阶段,ast.Decl 只会对应一个 goFile, 即使是后续支持了交叉编译,在单次生成过程中只应该往某个具体的文件写入单个节点,所以这里goFile仅描述单个文件的写入。
  • 对于cl.Package 不耦合 filename , arch , os,而是保留在初始化文件时的写入回调,方便扩展。

@luoliwoshang luoliwoshang marked this pull request as draft July 10, 2025 11:35
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.

1 participant