ssa: record NeedRuntime, NeedPyInit in Package to compatible multi-packages building

This commit is contained in:
Li Jie
2025-02-18 09:50:14 +08:00
parent 0e4ca910d6
commit 00406e08fb
4 changed files with 9 additions and 10 deletions

View File

@@ -234,7 +234,7 @@ source_filename = "foo/bar"
@a = external global {}, align 1
`)
if prog.NeedRuntime {
if pkg.NeedRuntime {
t.Fatal("NeedRuntime?")
}
}