First of all, I'm newby in rust and webassembly. I'd like to use Reference Types with wasm-bindgen, following theexample in wasm-bindgen book Support for Reference Types
I've tried to build my code with the reference types flag
wasm-pack build --reference-types
But I'm getting following error
error: Found argument '--reference-types' which wasn't expected, or isn't valid in this context
I've installed rustc with version 1.55 and wasm-pack with version 0.10.1.
Am I missing any thing?