Skip to content

Commit

Permalink
fix: when building go locally always build for amd64 (#1121)
Browse files Browse the repository at this point in the history
  • Loading branch information
danez committed Jun 24, 2022
1 parent 5083bb2 commit 4ba670c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/runtimes/go/builder.ts
Expand Up @@ -13,6 +13,7 @@ export const build = async ({ destPath, mainFile, srcDir }: { destPath: string;
env: {
CGO_ENABLED: '0',
GOOS: 'linux',
GOARCH: 'amd64',
},
})
} catch (error) {
Expand Down

1 comment on commit 4ba670c

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

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

⏱ Benchmark results

largeDepsEsbuild: 6.9s

largeDepsNft: 32.7s

largeDepsZisi: 50.3s

Please sign in to comment.