extern is replaced with extern "C" for wasm extern functions · Issue #2908 · rust-lang/rustfmt (original) (raw)
I am getting this diff with rustfmt in stdsimd, is this intended (@nrc , @topecongiro ) / correct (cc @alexcrichton) ?
#[wasm_bindgen(module = "child_process", version = "*")] -extern { +extern "C" { #[wasm_bindgen(js_name = execSync)] fn exec_sync(cmd: &str) -> Buffer; }