Skip to content

Conversation

aykevl
Copy link
Member

@aykevl aykevl commented Apr 13, 2022

Make use of a few new features in TinyGo:

  • Functions and globals in header files are supported.
  • Static functions are supported.

This allows us to remove workarounds specifically used for the lack of support for static functions.

This is a draft because it depends on tinygo-org/tinygo#2776.

Make use of a few new features in TinyGo:

  * Functions and globals in header files are supported.
  * Static functions are supported.

This allows us to remove workarounds specifically used for the lack of
support for static functions.
@aykevl aykevl force-pushed the update-cgo-static branch from 261e1ba to fefb044 Compare June 6, 2023 13:44
@aykevl aykevl marked this pull request as ready for review June 6, 2023 13:45
@aykevl
Copy link
Member Author

aykevl commented Jun 6, 2023

This is ready for review. The necessary changes have been merged into TinyGo a long time ago.

@deadprogram
Copy link
Member

Always great to remove code that is no longer needed! Thanks @aykevl now merging.

@deadprogram deadprogram merged commit 74e8f86 into dev Jun 6, 2023
@deadprogram deadprogram deleted the update-cgo-static branch June 6, 2023 14:59
@aykevl
Copy link
Member Author

aykevl commented Jun 7, 2023

Always great to remove code that is no longer needed!

Especially when they were workarounds/hacks 😄

Untested, but I suspect it will even make the code slightly more efficient.

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.

2 participants