Merge pull request #1228 from rustwasm/dependabot/cargo/parity-wasm-0.36

Update parity-wasm requirement from 0.35 to 0.36
This commit is contained in:
Alex Crichton 2019-02-05 08:28:53 +01:00 committed by GitHub
commit 74cd3c08f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 9 additions and 84 deletions

View File

@ -13,7 +13,7 @@ Shared support for the wasm-bindgen-cli package, an internal dependency
[dependencies]
base64 = "0.9"
failure = "0.1.2"
parity-wasm = "0.35"
parity-wasm = "0.36"
tempfile = "3.0"
wasm-bindgen-gc = { path = '../gc', version = '=0.2.33' }
wasm-bindgen-shared = { path = "../shared", version = '=0.2.33' }

View File

@ -18,7 +18,7 @@ docopt = "1.0"
env_logger = "0.6"
failure = "0.1.2"
log = "0.4"
parity-wasm = "0.35"
parity-wasm = "0.36"
rouille = { version = "3.0.0", default-features = false }
serde = "1.0"
serde_derive = "1.0"

View File

@ -11,7 +11,7 @@ Support for removing unused items from a wasm executable
"""
[dependencies]
parity-wasm = "0.35.1"
parity-wasm = "0.36"
log = "0.4"
rustc-demangle = "0.1.9"

View File

@ -99,6 +99,10 @@ fn run(config: &mut Config, module: &mut Module) {
info!("skipping reloc section");
continue;
}
Section::DataCount(..) => {
info!("skipping data count section");
continue;
}
Section::Type(ref mut s) => cx.remap_type_section(s),
Section::Import(ref mut s) => cx.remap_import_section(s),
Section::Function(ref mut s) => cx.remap_function_section(s),

View File

@ -1,18 +0,0 @@
(module
(memory 0 10)
(func $foo
i32.const 0
i32.const 0
i32.const 0
memory.init 0
)
(data passive "wut")
)
;; STDOUT (update this section with `BLESS_TESTS=1` while running tests)
;; (module
;; (memory (;0;) 0 10))
;; STDOUT

View File

@ -1,29 +0,0 @@
(module
(memory 0 10)
(func $foo
i32.const 0
i32.const 0
i32.const 0
memory.init 1
)
(data passive "wut")
(data passive "wut2")
(data passive "wut3")
(start $foo)
)
;; STDOUT (update this section with `BLESS_TESTS=1` while running tests)
;; (module
;; (type (;0;) (func))
;; (func $foo (type 0)
;; i32.const 0
;; i32.const 0
;; i32.const 0
;; memory.init 0)
;; (memory (;0;) 0 10)
;; (start 0)
;; (data (;0;) passive "wut2"))
;; STDOUT

View File

@ -1,32 +0,0 @@
(module
(import "" "" (table 0 1 anyfunc))
(func $foo
i32.const 0
i32.const 0
i32.const 0
table.init 1
)
(func $bar)
(func $bar2)
(elem passive $bar)
(elem passive $bar2)
(start $foo)
)
;; STDOUT (update this section with `BLESS_TESTS=1` while running tests)
;; (module
;; (type (;0;) (func))
;; (import "" "" (table (;0;) 0 1 anyfunc))
;; (func $foo (type 0)
;; i32.const 0
;; i32.const 0
;; i32.const 0
;; table.init 0)
;; (func $bar2 (type 0))
;; (start 0)
;; (elem (;0;) passive $bar2))
;; STDOUT

View File

@ -11,5 +11,5 @@ Support for threading-related transformations in wasm-bindgen
"""
[dependencies]
parity-wasm = "0.35"
parity-wasm = "0.36"
failure = "0.1"

View File

@ -11,7 +11,7 @@ Micro-interpreter optimized for wasm-bindgen's use case
"""
[dependencies]
parity-wasm = "0.35"
parity-wasm = "0.36"
[dev-dependencies]
tempfile = "3"