Wasm interface types should imply multi-value

This commit is contained in:
Nick Fitzgerald 2019-10-03 12:57:26 -07:00
parent 085924567f
commit 311ae1941f

2
crates/cli-support/src/lib.rs Normal file → Executable file
View File

@ -96,7 +96,7 @@ impl Bindgen {
weak_refs: env::var("WASM_BINDGEN_WEAKREF").is_ok(),
threads: threads_config(),
anyref: anyref || wasm_interface_types,
multi_value,
multi_value: multi_value || wasm_interface_types,
wasm_interface_types,
encode_into: EncodeInto::Test,
}