Skip to content

Commit

Permalink
Merge pull request #1002 from alexcrichton/reference-types
Browse files Browse the repository at this point in the history
Add experimental support for the `anyref` type
  • Loading branch information
alexcrichton authored Feb 20, 2019
2 parents 8f69578 + 4181fb3 commit de85d99
Show file tree
Hide file tree
Showing 14 changed files with 1,727 additions and 411 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ matrix:
- cargo test
# Run the main body of the test suite
- cargo test --target wasm32-unknown-unknown
# Make sure the anyref pass at least compiles even if it doesn't run
- NODE_ARGS=/dev/null WASM_BINDGEN_ANYREF=1 cargo test --target wasm32-unknown-unknown --test wasm
# Rerun the test suite but disable `--debug` in generated JS
- WASM_BINDGEN_NO_DEBUG=1 cargo test --target wasm32-unknown-unknown
# Make sure our serde tests work
Expand Down
16 changes: 16 additions & 0 deletions crates/anyref-xform/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[package]
name = "wasm-bindgen-anyref-xform"
version = "0.2.37"
authors = ["The wasm-bindgen Developers"]
license = "MIT/Apache-2.0"
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/anyref-xform"
homepage = "https://rustwasm.github.io/wasm-bindgen/"
documentation = "https://docs.rs/wasm-bindgen-anyref-xform"
description = """
Internal anyref transformations for wasm-bindgen
"""
edition = '2018'

[dependencies]
failure = "0.1"
walrus = "0.4"
Loading

0 comments on commit de85d99

Please sign in to comment.