mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-12 23:13:40 +00:00
compiler: move ApplyFunctionSections to transform package
This commit is contained in:
committed by
Ron Evans
parent
945ff4d160
commit
b6314fa6ab
+1
-1
@@ -53,7 +53,7 @@ func Build(pkgName, outpath string, config *compileopts.Config, action func(stri
|
||||
}
|
||||
|
||||
if config.GOOS() != "darwin" {
|
||||
c.ApplyFunctionSections() // -ffunction-sections
|
||||
transform.ApplyFunctionSections(c.Module()) // -ffunction-sections
|
||||
}
|
||||
|
||||
// Browsers cannot handle external functions that have type i64 because it
|
||||
|
||||
Reference in New Issue
Block a user