fix: update url

This commit is contained in:
Haolan
2025-09-01 16:54:12 +08:00
parent 96c5ce90e4
commit 5997a296c2
2 changed files with 3 additions and 4 deletions

View File

@@ -317,12 +317,12 @@ func use(goos, goarch string, wasiThreads bool) (export Export, err error) {
export.CCFLAGS = append(
export.CCFLAGS,
"-fdata-sections",
// "-ffunction-sections",
"-ffunction-sections",
)
export.LDFLAGS = append(
export.LDFLAGS,
"-fdata-sections",
// "-ffunction-sections",
"-ffunction-sections",
"-Xlinker",
"--gc-sections",
"-lm",