aboutsummaryrefslogtreecommitdiffstats
path: root/Cargo.lock
diff options
context:
space:
mode:
authorm-lima <m-lima@users.noreply.github.com>2023-02-07 17:55:37 +0100
committerGitHub <noreply@github.com>2023-02-07 17:55:37 +0100
commit5b3e1ecacd31bf554b59885a01bf4701874b9063 (patch)
treed76a470e155f84183f5cdb5fcd7ca0c1153f924f /Cargo.lock
parentdocs(changelog): switch to tab by name (diff)
downloadsl0ppij-5b3e1ecacd31bf554b59885a01bf4701874b9063.tar.gz
sl0ppij-5b3e1ecacd31bf554b59885a01bf4701874b9063.tar.xz
sl0ppij-5b3e1ecacd31bf554b59885a01bf4701874b9063.zip
chore(development): use singlepass in debug mode (#2134)
* Add new feature flags * Use singlepass in debug mode * Use Cow to avoid unnecessary copies - Instead of removing and reinserting into the memory cache, use Cow to model both owned an borrowed data - Log at debug-level the time to compile/load a wasm module - A little clippy drive-by on touched files * Satisfy the assumption from zellij-utils/src/consts.rs for target-dir * Allow forcing cranlift in debug mode * Remove deprecated comments * PR comment: typo * Remove extras
Diffstat (limited to 'Cargo.lock')
-rw-r--r--Cargo.lock46
1 files changed, 46 insertions, 0 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 4eecac05..58456fb4 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -837,6 +837,32 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "212d0f5754cb6769937f4501cc0e67f4f4483c8d2c3e1e922ee9edbe4ab4c7c0"
[[package]]
+name = "dynasm"
+version = "1.2.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "add9a102807b524ec050363f09e06f1504214b0e1c7797f64261c891022dce8b"
+dependencies = [
+ "bitflags",
+ "byteorder",
+ "lazy_static",
+ "proc-macro-error",
+ "proc-macro2",
+ "quote",
+ "syn",
+]
+
+[[package]]
+name = "dynasmrt"
+version = "1.2.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "64fba5a42bd76a17cad4bfa00de168ee1cbfa06a5e8ce992ae880218c05641a9"
+dependencies = [
+ "byteorder",
+ "dynasm",
+ "memmap2",
+]
+
+[[package]]
name = "either"
version = "1.6.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -3412,6 +3438,7 @@ dependencies = [
"wasmer-artifact",
"wasmer-compiler",
"wasmer-compiler-cranelift",
+ "wasmer-compiler-singlepass",
"wasmer-derive",
"wasmer-engine",
"wasmer-engine-dylib",
@@ -3474,6 +3501,25 @@ dependencies = [
]
[[package]]
+name = "wasmer-compiler-singlepass"
+version = "2.3.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "29ca2a35204d8befa85062bc7aac259a8db8070b801b8a783770ba58231d729e"
+dependencies = [
+ "byteorder",
+ "dynasm",
+ "dynasmrt",
+ "gimli",
+ "lazy_static",
+ "loupe",
+ "more-asserts",
+ "rayon",
+ "smallvec",
+ "wasmer-compiler",
+ "wasmer-types",
+]
+
+[[package]]
name = "wasmer-derive"
version = "2.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"