-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Labels
RFCRequest for commentsRequest for comments
Description
Summary
In the current WASM build we can import the stdlib libraries written in Rust (time
, hashlib
for example) but we cannot import any python libs (collections
for example). I would suggest to freeze all the modules in the Lib/
folder to allow them to be imported in WASM.
Detailed Explanation
When building the WASM build we will add all the modules in Lib/
to the hashmap in frozen.rs
.
Drawbacks, Rationale, and Alternatives
- This will increase the WASM build size.
Unresolved Questions
- Should we add libraries like
io
andos
? - Should we add this as a feature flag to the regular build?
Metadata
Metadata
Assignees
Labels
RFCRequest for commentsRequest for comments