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

Support debug logs in debug WASM builds #654

Merged
merged 14 commits into from
Sep 22, 2022
Merged

Support debug logs in debug WASM builds #654

merged 14 commits into from
Sep 22, 2022

Conversation

leighmcculloch
Copy link
Member

What

Support debug logs in debug WASM builds

Why

So that debug logs can be outputted in WASM builds intended for debugging only. Not that none of this code is triggerable in release builds intended for onchain. Note that none of this code is compiled in on non-debug builds, and if a debug build with logs was deployed on chain it would error because the host does not accept logging via the guest interface in public environments.

Dependent on stellar/rs-soroban-env#464

Close stellar/rs-soroban-env#447

@leighmcculloch leighmcculloch marked this pull request as ready for review September 22, 2022 19:41
@leighmcculloch leighmcculloch enabled auto-merge (squash) September 22, 2022 19:51
@leighmcculloch leighmcculloch merged commit 49feeca into main Sep 22, 2022
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.

Support DebugEvents in WASM builds
1 participant