Skip to content

Commit de85d99

Browse files
authored
Merge pull request #1002 from alexcrichton/reference-types
Add experimental support for the `anyref` type
2 parents 8f69578 + 4181fb3 commit de85d99

File tree

14 files changed

+1727
-411
lines changed

14 files changed

+1727
-411
lines changed

.travis.yml

+2
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@ matrix:
6565
- cargo test
6666
# Run the main body of the test suite
6767
- cargo test --target wasm32-unknown-unknown
68+
# Make sure the anyref pass at least compiles even if it doesn't run
69+
- NODE_ARGS=/dev/null WASM_BINDGEN_ANYREF=1 cargo test --target wasm32-unknown-unknown --test wasm
6870
# Rerun the test suite but disable `--debug` in generated JS
6971
- WASM_BINDGEN_NO_DEBUG=1 cargo test --target wasm32-unknown-unknown
7072
# Make sure our serde tests work

crates/anyref-xform/Cargo.toml

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
[package]
2+
name = "wasm-bindgen-anyref-xform"
3+
version = "0.2.37"
4+
authors = ["The wasm-bindgen Developers"]
5+
license = "MIT/Apache-2.0"
6+
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/anyref-xform"
7+
homepage = "https://rustwasm.github.io/wasm-bindgen/"
8+
documentation = "https://docs.rs/wasm-bindgen-anyref-xform"
9+
description = """
10+
Internal anyref transformations for wasm-bindgen
11+
"""
12+
edition = '2018'
13+
14+
[dependencies]
15+
failure = "0.1"
16+
walrus = "0.4"

0 commit comments

Comments
 (0)