FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

freeze stdlib in WASM by palaviv · Pull Request #1180 · RustPython/RustPython · GitHub

Repository navigation

freeze stdlib in WASM - #1180

Merged
windelbouwman merged 2 commits into
RustPython:masterfrom
palaviv:wasm-freeze-stdlib
Jul 26, 2019
Merged

windelbouwman merged 2 commits into
RustPython:masterfrom
palaviv:wasm-freeze-stdlib

Conversation

palaviv commented Jul 26, 2019

Copy link
Copy Markdown
Contributor

As discussed in #1142. We did not reach a conclusion there if we should make this the default. I can remove the default if we will decide against this.

Copy link
Copy Markdown
Contributor

Nice! Now we can use stdlib in wasm right?

Comment thread wasm/lib/Cargo.toml

[features]
default = ["freeze-stdlib"]
freeze-stdlib = ["rustpython-vm/freeze-stdlib"]

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Nice usage of options! I think the name is good. Another viable name for this option might be include-stdlib to indicate the inclusion of the the standard library for people who are unfamiliar with the concept of freezing. But I think most people will probably know the idea of freeze.

This looks good to me!

windelbouwman merged commit 95561f4 into RustPython:master Jul 26, 2019
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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL