You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// FIXME: remove this once the wasm32-unknown-unknown ABI is fixed
319
+
// please also add `wasm32-unknown-unknown` back in `tests/assembly/wasm32-naked-fn.rs`
320
+
// basically the commit introducing this comment should be reverted
321
+
ifletPassMode::Pair{ .. } = fn_abi.ret.mode{
322
+
let _ = WasmCAbi::Legacy;
323
+
span_bug!(
324
+
tcx.def_span(def_id),
325
+
"cannot return a pair (the wasm32-unknown-unknown ABI is broken, see https://github.com/rust-lang/rust/issues/115666"
326
+
);
327
+
}
328
+
329
+
let hidden_return = matches!(fn_abi.ret.mode,PassMode::Indirect{ .. });
// FIXME: remove this branch once the wasm32-unknown-unknown ABI is fixed
374
+
let _ = WasmCAbi::Legacy;
375
+
span_bug!(
376
+
tcx.def_span(def_id),
377
+
"cannot use memory args (the wasm32-unknown-unknown ABI is broken, see https://github.com/rust-lang/rust/issues/115666"
378
+
);
379
+
}
349
380
other => unreachable!("unexpected BackendRepr: {:?}", other),
0 commit comments