rust/compiler
Nikita Popov 8a50bcbdce Remove extern "wasm" ABI
Remove the unstable `extern "wasm"` ABI (`wasm_abi` feature tracked
in #83788).

As discussed in https://github.com/rust-lang/rust/pull/127513#issuecomment-2220410679
and following, this ABI is a failed experiment that did not end
up being used for anything. Keeping support for this ABI in LLVM 19
would require us to switch wasm targets to the `experimental-mv`
ABI, which we do not want to do.

It should be noted that `Abi::Wasm` was internally used for two
things: The `-Z wasm-c-abi=legacy` ABI that is still used by
default on some wasm targets, and the `extern "wasm"` ABI. Despite
both being `Abi::Wasm` internally, they were not the same. An
explicit `extern "wasm"` additionally enabled the `+multivalue`
feature.

I've opted to remove `Abi::Wasm` in this patch entirely, instead
of keeping it as an ABI with only internal usage. Both
`-Z wasm-c-abi` variants are now treated as part of the normal
C ABI, just with different different treatment in
adjust_for_foreign_abi.
2024-07-11 12:20:26 +02:00
..
rustc
rustc_abi
rustc_arena
rustc_ast Rollup merge of #127308 - nnethercote:Attribute-cleanups, r=petrochenkov 2024-07-07 14:22:01 +02:00
rustc_ast_ir
rustc_ast_lowering Auto merge of #127200 - fee1-dead-contrib:trait_def_const_trait, r=compiler-errors 2024-07-09 06:51:35 +00:00
rustc_ast_passes
rustc_ast_pretty
rustc_attr
rustc_baked_icu_data
rustc_borrowck Auto merge of #127500 - compiler-errors:consolidate-region-errors, r=lcnr 2024-07-09 13:43:15 +00:00
rustc_builtin_macros Rollup merge of #127308 - nnethercote:Attribute-cleanups, r=petrochenkov 2024-07-07 14:22:01 +02:00
rustc_codegen_cranelift Auto merge of #113128 - WaffleLapkin:become_trully_unuwuable, r=oli-obk,RalfJung 2024-07-08 04:35:04 +00:00
rustc_codegen_gcc
rustc_codegen_llvm Remove extern "wasm" ABI 2024-07-11 12:20:26 +02:00
rustc_codegen_ssa Support tail calls in mir via TerminatorKind::TailCall 2024-07-07 17:11:04 +02:00
rustc_const_eval Move trait selection error reporting to its own top-level module 2024-07-08 16:04:47 -04:00
rustc_data_structures
rustc_driver
rustc_driver_impl
rustc_error_codes
rustc_error_messages
rustc_errors Rollup merge of #120248 - WaffleLapkin:bonk-ptr-object-casts, r=compiler-errors,oli-obk,lnicola 2024-07-08 16:28:15 +02:00
rustc_expand Rollup merge of #126841 - c410-f3r:concat-again, r=petrochenkov 2024-07-08 13:04:30 +08:00
rustc_feature Remove extern "wasm" ABI 2024-07-11 12:20:26 +02:00
rustc_fluent_macro
rustc_fs_util
rustc_graphviz
rustc_hir
rustc_hir_analysis Auto merge of #127358 - oli-obk:taint_itemctxt, r=fmease 2024-07-09 23:03:01 +00:00
rustc_hir_pretty
rustc_hir_typeck Auto merge of #127495 - compiler-errors:more-trait-error-reworking, r=lcnr 2024-07-10 02:08:19 +00:00
rustc_incremental
rustc_index
rustc_index_macros
rustc_infer Consolidate region error reporting in rustc_infer 2024-07-08 20:35:30 -04:00
rustc_interface
rustc_lexer
rustc_lint Auto merge of #127549 - jhpratt:rollup-o1mbmhr, r=jhpratt 2024-07-10 06:35:04 +00:00
rustc_lint_defs Rollup merge of #124211 - compiler-errors:bump-elided_lifetimes_in_associated_constant, r=BoxyUwU 2024-07-10 00:37:10 -04:00
rustc_llvm
rustc_log
rustc_macros
rustc_metadata
rustc_middle Remove extern "wasm" ABI 2024-07-11 12:20:26 +02:00
rustc_mir_build Auto merge of #127028 - Nadrieril:fix-or-pat-expansion, r=matthewjasper 2024-07-09 16:33:59 +00:00
rustc_mir_dataflow Support tail calls in mir via TerminatorKind::TailCall 2024-07-07 17:11:04 +02:00
rustc_mir_transform Auto merge of #127234 - ZhuUx:inlined-expr, r=davidtwco,Zalathar 2024-07-09 20:24:30 +00:00
rustc_monomorphize Auto merge of #113128 - WaffleLapkin:become_trully_unuwuable, r=oli-obk,RalfJung 2024-07-08 04:35:04 +00:00
rustc_next_trait_solver Rollup merge of #127508 - lcnr:search-graph-prep, r=compiler-errors 2024-07-10 00:37:12 -04:00
rustc_parse Remove Clone derive from LazyAttrTokenStreamImpl. 2024-07-07 16:24:51 +10:00
rustc_parse_format
rustc_passes Move trait selection error reporting to its own top-level module 2024-07-08 16:04:47 -04:00
rustc_pattern_analysis
rustc_privacy
rustc_query_impl
rustc_query_system
rustc_resolve Rollup merge of #127431 - oli-obk:feed_item_attrs, r=compiler-errors 2024-07-08 13:04:32 +08:00
rustc_sanitizers
rustc_serialize
rustc_session
rustc_smir Remove extern "wasm" ABI 2024-07-11 12:20:26 +02:00
rustc_span
rustc_symbol_mangling
rustc_target Remove extern "wasm" ABI 2024-07-11 12:20:26 +02:00
rustc_trait_selection Split out fulfillment error reporting a bit more 2024-07-09 09:57:16 -04:00
rustc_traits Split out overflow handling into its own module 2024-07-09 09:51:56 -04:00
rustc_transmute
rustc_ty_utils Remove extern "wasm" ABI 2024-07-11 12:20:26 +02:00
rustc_type_ir Auto merge of #127438 - compiler-errors:compute-outlives-visitor, r=lcnr 2024-07-08 10:56:15 +00:00
rustc_type_ir_macros
stable_mir Remove extern "wasm" ABI 2024-07-11 12:20:26 +02:00