about summary refs log tree commit diff
path: root/compiler/rustc_abi
diff options
context:
space:
mode:
authorJubilee Young <workingjubilee@gmail.com>2025-05-21 21:14:40 +0200
committerJubilee Young <workingjubilee@gmail.com>2025-06-03 10:02:44 -0700
commit2d637f70a8e8c87d0844e2cc35d2cd48be39b2d6 (patch)
tree781df9942c2389dd99f962c16a6609bfcb160694 /compiler/rustc_abi
parentc04e2490ef147b052375abedea95a9ec9b6a45a6 (diff)
downloadrust-2d637f70a8e8c87d0844e2cc35d2cd48be39b2d6.tar.gz
rust-2d637f70a8e8c87d0844e2cc35d2cd48be39b2d6.zip
compiler: use CanonAbi for entry_abi
makes entry_abi a lowering of the ABI string, so now it can be
```json
  "entry_abi": "C",
  "entry_abi": "win64",
  "entry_abi": "aapcs",
```
Diffstat (limited to 'compiler/rustc_abi')
-rw-r--r--compiler/rustc_abi/src/canon_abi.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_abi/src/canon_abi.rs b/compiler/rustc_abi/src/canon_abi.rs
index 439603df0fa..2cf7648a859 100644
--- a/compiler/rustc_abi/src/canon_abi.rs
+++ b/compiler/rustc_abi/src/canon_abi.rs
@@ -3,7 +3,7 @@ use std::fmt;
 #[cfg(feature = "nightly")]
 use rustc_macros::HashStable_Generic;
 
-use crate::{AbiFromStrErr, ExternAbi};
+use crate::ExternAbi;
 
 /// Calling convention to determine codegen
 ///