Skip to content

docs: tweak build flags in example Go recipe#2806

Open
salim-b wants to merge 1 commit intoconda-forge:mainfrom
salim-b:patch-1
Open

docs: tweak build flags in example Go recipe#2806
salim-b wants to merge 1 commit intoconda-forge:mainfrom
salim-b:patch-1

Conversation

@salim-b
Copy link
Copy Markdown

@salim-b salim-b commented Apr 10, 2026

PR Checklist:

  • note any issues closed by this PR with closing keywords
  • if you are adding a new page under docs/ or community/, you have added it to the sidebar in the corresponding _sidebar.json file
  • put any other relevant information below

Summary

  • Added the -w ldflag to tell the linker to omit the DWARF symbol table and thereby reduce binary size on Windows, too (not an issue anymore these days, IIUC).
  • Added the -trimpath flag to make the compiler replace all local build system paths in the binary with generic, relative paths, thereby improving build reproducibility.

- added the `-w` ldflag to tell the linker to omit the DWARF symbol table and thereby reduce binary size on Windows, too (not an issue anymore these days I think)
- added `-trimpath` to make the compiler replace all local build system paths in the binary with generic, relative paths, thereby improving build reproducibility
@salim-b salim-b requested a review from a team as a code owner April 10, 2026 11:33
@netlify
Copy link
Copy Markdown

netlify bot commented Apr 10, 2026

Deploy Preview for conda-forge-previews ready!

Name Link
🔨 Latest commit 5210e0e
🔍 Latest deploy log https://app.netlify.com/projects/conda-forge-previews/deploys/69d8e0227708360008b9d020
😎 Deploy Preview https://deploy-preview-2806--conda-forge-previews.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 69
Accessibility: 96
Best Practices: 100
SEO: 89
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

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