feat: support sys-minimal feature#5621
Conversation
|
@syrusakbary https://github.com/wasmerio/wasmer/actions/runs/16106520659/job/45444368736?pr=5621#step:4:257 It seems these tests fail caused by CI permission? |
|
📝 Documentation updates detected! New suggestion: Document wasi-common feature for WASIX library |
|
Hey @hardfist, Also, You made the |
|
Hey @hardfist, thank you for this contribution! From what I can tell, the change adds a new feature, which disables some of the dependencies. I have doubts about the exact set of dependencies enabled, though. For example, disabling the host networking feature isn't 100% compatible with wasip1, as with wasip1, you do get networking, just not the ability to open new sockets. Since the set of features enabled in the
Would this solve your usecase, @hardfist? |
|
The
I think it can reduce the binary size cause it doesn't enforce all features |
|
Cool! Do you want to make the implementation? |
yeah, I can give it a second try |
|
LGTM now! |
|
@Arshia001 I also notice that some of wasmer's dependency is not necessary for our case like |
|
@Arshia001 it seems these failing tests is not related to the change? |
|
@hardfist I'm quite sure we already have a The integration tests are flaky, and hence not marked as required. Merging this in. Thanks again! |
|
@Arshia001 sorry to bother, when will wasmer release next version? |
|
I don't have an exact time, but 6.1 is coming soon, probably as soon as the current work on dynamic linking is done, which is very close to the finish line. |
This pull request introduces support for the
sys-minimalfeature in thewasixlibrary, provide minimalsysimplementation to reduce binary size for consumers.Related to
@syrusakbary I'm not sure how I should add tests about this, may need your guidance