diff options
| author | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2024-12-06 09:06:51 +0000 |
|---|---|---|
| committer | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2025-06-14 09:57:06 +0000 |
| commit | 3e944fa3917a58e30d970d2cce42c14c5edf390b (patch) | |
| tree | e86353894ddba0e0e06c8202632569bf8c4254c3 /compiler/rustc_target/src/spec/mod.rs | |
| parent | 64033a4ee541c3e9c178fd593e979c74bb798cdc (diff) | |
| download | rust-3e944fa3917a58e30d970d2cce42c14c5edf390b.tar.gz rust-3e944fa3917a58e30d970d2cce42c14c5edf390b.zip | |
Remove all support for wasm's legacy ABI
Diffstat (limited to 'compiler/rustc_target/src/spec/mod.rs')
| -rw-r--r-- | compiler/rustc_target/src/spec/mod.rs | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/compiler/rustc_target/src/spec/mod.rs b/compiler/rustc_target/src/spec/mod.rs index c360fe63a00..010355abd78 100644 --- a/compiler/rustc_target/src/spec/mod.rs +++ b/compiler/rustc_target/src/spec/mod.rs @@ -2233,22 +2233,6 @@ impl HasTargetSpec for Target { } } -/// Which C ABI to use for `wasm32-unknown-unknown`. -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum WasmCAbi { - /// Spec-compliant C ABI. - Spec, - /// Legacy ABI. Which is non-spec-compliant. - Legacy { - /// Indicates whether the `wasm_c_abi` lint should be emitted. - with_lint: bool, - }, -} - -pub trait HasWasmCAbiOpt { - fn wasm_c_abi_opt(&self) -> WasmCAbi; -} - /// x86 (32-bit) abi options. #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub struct X86Abi { |
