Repository navigation
Conversation
Open
sbc100
reviewed
Mar 7, 2023
| # We don't need a filesystem when bootstrapping | ||
| # anyhow, so there is no real reason to get this | ||
| # working in that mode. | ||
| '-sWASMFS=0', |
Collaborator
There was a problem hiding this comment.
I don't think this is worth landed. I think its fine for this code to have knowledge of the defaults.
I think there are many settings that, if enabled by default, would cause this code here to break. This code just needs to be kept up-to-date as the defaults change.
Member
Author
There was a problem hiding this comment.
Fair points. This is a setting we intend to flip the default on eventually, though, so I thought this could save us some effort at that future time. But I don't feel strongly, so closing.
Collaborator
There was a problem hiding this comment.
I imagine by the time we flip the default one the the requirements will likely be "Make sure gen_struct_info works with wasmfs".
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Atm it doesn't work due to needing malloc/free, but there are
also a few other issues we'd need to fix I think. But bootstrapping
doesn't need a filesystem anyhow, so WasmFS doesn't make
sense there, so let's just disable WasmFS when doing that.
Fixes the issue noticed here:
#15976 (comment)