Skip to content

wasmparser behaviour in case of Nested Components #1698

Closed Answered by alexcrichton
thesuhas asked this question in Q&A
Discussion options

You must be logged in to vote

Ah when using the parse_all helper there's no need to switch to the parsers that are given since the parse_all helper handles that for you. You'll want to instead track the depth of which you're processing a component at yourself when the Version and End markers are seen.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@thesuhas
Comment options

Answer selected by thesuhas
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants