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

improve when warning is given to recompile the artifact with newer cashc #235

Open
mr-zwets opened this issue Nov 6, 2024 · 0 comments
Open
Labels
cashc-compiler Relates to the cashc compiler
Milestone

Comments

@mr-zwets
Copy link
Member

mr-zwets commented Nov 6, 2024

Problem

Is there a way to prevent the new warning appearing? "No debug information found in artifact. Recompile with cashc version 0.10.0 or newer to get better debugging information."

We didn't really take hand optimized bytecode into account when adding this message, we wanted to encourage people to upgrade to the new debugging tooling

yeah, turned out that adding "debug": {} to the artifact would silence the message, but not break anything else

Solutions

Initially my thought was to allow for "debug": {} in artifact typings.
But a better fix might just be to check the cashc version used in the artifact

@mr-zwets mr-zwets changed the title allow for "debug": {} in artifact typings improve when warning is given to recompile the artifact with newer cashc Nov 7, 2024
@mr-zwets mr-zwets added the cashc-compiler Relates to the cashc compiler label Nov 7, 2024
@mr-zwets mr-zwets added this to the v0.11 milestone Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cashc-compiler Relates to the cashc compiler
Projects
None yet
Development

No branches or pull requests

1 participant