-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
4,079 additions
and
2,691 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
name = "erg-playground" | ||
version = "0.1.0" | ||
authors = ["Shunsuke Shibayama <[email protected]>"] | ||
edition = "2018" | ||
edition = "2021" | ||
|
||
[lib] | ||
crate-type = ["cdylib", "rlib"] | ||
|
@@ -11,10 +11,10 @@ crate-type = ["cdylib", "rlib"] | |
default = ["console_error_panic_hook"] | ||
|
||
[dependencies] | ||
wasm-bindgen = "0.2.63" | ||
erg_common = { git = "https://github.com/erg-lang/erg", version = "0.5.12" } | ||
erg_compiler = { git = "https://github.com/erg-lang/erg", version = "0.5.12" } | ||
rustpython_wasm = { git = "https://github.com/rustpython/rustpython", version = "0.1.2" } | ||
wasm-bindgen = "=0.2.87" | ||
erg_common = { git = "https://github.com/erg-lang/erg", features = ["no_std"] } | ||
erg_compiler = { git = "https://github.com/erg-lang/erg", features = ["no_std"] } | ||
rustpython_wasm = { git = "https://github.com/rustpython/rustpython", version = "0.3.0" } | ||
once_cell = "1.16.0" | ||
|
||
# The `console_error_panic_hook` crate provides better debugging of panics by | ||
|
@@ -23,14 +23,13 @@ once_cell = "1.16.0" | |
# code size when deploying. | ||
console_error_panic_hook = { version = "0.1.6", optional = true } | ||
|
||
# `wee_alloc` is a tiny allocator for wasm that is only ~1K in code size | ||
# compared to the default allocator's ~10K. It is slower than the default | ||
# allocator, however. | ||
wee_alloc = { version = "0.4.5", optional = true } | ||
|
||
[dev-dependencies] | ||
wasm-bindgen-test = "0.3.13" | ||
|
||
[profile.release] | ||
# Tell `rustc` to optimize for small code size. | ||
opt-level = "s" | ||
|
||
[profile.dev] | ||
opt-level = 1 | ||
incremental = true |
This file contains 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
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains 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
Oops, something went wrong.