Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tinygo support #536

Open
rsteube opened this issue Jun 14, 2022 · 1 comment
Open

tinygo support #536

rsteube opened this issue Jun 14, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@rsteube
Copy link
Member

rsteube commented Jun 14, 2022

Support tinygo for minimal sized standalone completers and carapace-spec.

  • build with tinygo build -no-debug -panic=trap -gc=leaking (Optimizing binaries)
  • strip binary
  • compress with upx -9
  • reduce carapace-pflag to Bool, BoolSlice, Count, String and StringSlice
  • also avoid large imports like fmt if possible (and if actually makes sense)
  • detach from cobra using a minified fork as alternative import
@rsteube rsteube added the enhancement New feature or request label May 19, 2023
@rsteube
Copy link
Member Author

rsteube commented May 19, 2023

needs tinygo-org/tinygo#632
needs tinygo-org/tinygo#2950

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant