//! This is a test that we can define items in a `#![no_std]` crate when
//! `wasm-bindgen` is compiled itself with the `std` feature and everything
//! works out just fine.
#![no_std]externcrate wasm_bindgen;usewasm_bindgen::prelude::*;#[wasm_bindgen]extern"C"{fntest(a:&str);typeJs;#[wasm_bindgen(constructor)]fnnew()-> Js;#[wasm_bindgen(method, structural)]fninit(this:&Js);}#[wasm_bindgen]pubstructA{}#[wasm_bindgen]implA{pubfnfoo(&self){}pubfnbar(&mutself){}}