mirror of
https://github.com/fluencelabs/wasmer
synced 2025-07-31 23:32:04 +00:00
Merge branch 'master' into feature/make-instance-send
This commit is contained in:
@@ -8,46 +8,46 @@ repository = "https://github.com/wasmerio/wasmer"
|
||||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
nix = "0.15.0"
|
||||
page_size = "0.4.1"
|
||||
nix = "0.15"
|
||||
page_size = "0.4"
|
||||
wasmparser = "0.35.1"
|
||||
parking_lot = "0.9.0"
|
||||
lazy_static = "1.4.0"
|
||||
errno = "0.2.4"
|
||||
parking_lot = "0.9"
|
||||
lazy_static = "1.4"
|
||||
errno = "0.2"
|
||||
libc = "0.2.60"
|
||||
hex = "0.3.2"
|
||||
smallvec = "0.6.10"
|
||||
hex = "0.3"
|
||||
smallvec = "0.6"
|
||||
bincode = "1.1"
|
||||
|
||||
[dependencies.indexmap]
|
||||
version = "1.2.0"
|
||||
version = "1.2"
|
||||
features = ["serde-1"]
|
||||
|
||||
# Dependencies for caching.
|
||||
[dependencies.serde]
|
||||
version = "1.0.99"
|
||||
version = "1.0"
|
||||
# This feature is required for serde to support serializing/deserializing reference counted pointers (e.g. Rc and Arc).
|
||||
features = ["rc"]
|
||||
[dependencies.serde_derive]
|
||||
version = "1.0.98"
|
||||
version = "1.0"
|
||||
[dependencies.serde_bytes]
|
||||
version = "0.11.2"
|
||||
version = "0.11"
|
||||
[dependencies.serde-bench]
|
||||
version = "0.0.7"
|
||||
[dependencies.blake2b_simd]
|
||||
version = "0.5.8"
|
||||
version = "0.5"
|
||||
[dependencies.digest]
|
||||
version = "0.8.1"
|
||||
version = "0.8"
|
||||
|
||||
[target.'cfg(windows)'.dependencies]
|
||||
winapi = { version = "0.3.8", features = ["memoryapi"] }
|
||||
winapi = { version = "0.3", features = ["memoryapi"] }
|
||||
|
||||
[dev-dependencies]
|
||||
field-offset = "0.1.1"
|
||||
field-offset = "0.1"
|
||||
|
||||
[build-dependencies]
|
||||
blake2b_simd = "0.5.8"
|
||||
rustc_version = "0.2.3"
|
||||
blake2b_simd = "0.5"
|
||||
rustc_version = "0.2"
|
||||
cc = "1.0"
|
||||
|
||||
[features]
|
||||
|
@@ -81,7 +81,7 @@ pushq %r8
|
||||
pushq %r9
|
||||
pushq %r10
|
||||
|
||||
callq get_boundary_register_preservation
|
||||
callq get_boundary_register_preservation@PLT
|
||||
|
||||
# Keep this consistent with BoundaryRegisterPreservation
|
||||
movq %r15, 0(%rax)
|
||||
|
@@ -39,6 +39,10 @@ where
|
||||
self.elems.len()
|
||||
}
|
||||
|
||||
pub fn is_empty(&self) -> bool {
|
||||
self.elems.is_empty()
|
||||
}
|
||||
|
||||
pub fn push(&mut self, value: V) -> K {
|
||||
let len = self.len();
|
||||
self.elems.push(value);
|
||||
|
Reference in New Issue
Block a user