Skip to content

Conversation

@aykevl
Copy link
Member

@aykevl aykevl commented Jan 27, 2021

The package with the main function should always have the name main.
This was not the case in three packages.

This was silently allowed before, but since a TinyGo change
(tinygo-org/tinygo#1592) this now results in a
linker failure.

Perhaps this should result in a better error message in TinyGo. However,
the example code also needs to be fixed, so hence this PR.

The package with the main function should always have the name main.
This was not the case in three packages.

This was silently allowed before, but since a TinyGo change
(tinygo-org/tinygo#1592) this now results in a
linker failure.

Perhaps this should result in a better error message in TinyGo. However,
the example code also needs to be fixed, so hence this PR.
@deadprogram
Copy link
Member

That makes sense, thanks for finding it and for the explanation.

Now merging.

@deadprogram deadprogram merged commit 5d3ad4b into dev Jan 27, 2021
@deadprogram deadprogram deleted the fix-example-main branch January 27, 2021 22:51
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.

3 participants