We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 36df9c5 commit ecbc661Copy full SHA for ecbc661
compiler/rustc_middle/src/ty/layout.rs
@@ -2752,14 +2752,6 @@ where
2752
attrs
2753
});
2754
2755
- if target.arch == "wasm32" && target.os == "unknown" {
2756
- // wasm-bindgen depends on ABI details and is incompatible with the
2757
- // correct C ABI, so this is being kept around until wasm-bindgen
2758
- // can be fixed to work with the correct ABI. See #63649 for further
2759
- // discussion.
2760
- arg.mode = PassMode::Direct(ArgAttributes::new());
2761
- }
2762
-
2763
if arg.layout.is_zst() {
2764
// For some forsaken reason, x86_64-pc-windows-gnu
2765
// doesn't ignore zero-sized struct arguments.
0 commit comments