about summary refs log tree commit diff
path: root/compiler/rustc_middle/src
diff options
context:
space:
mode:
authorJieyou Xu <jieyouxu@outlook.com>2025-05-15 16:51:32 +0800
committerJosh Stone <cuviper@gmail.com>2025-05-22 15:39:14 -0700
commitfcdcea758ec03be56586d1e631f8b574a4626f6c (patch)
tree33b18779c5d47877c0757e8a9e723c2ee2773da8 /compiler/rustc_middle/src
parente39669866a746fc891f4285692e53ddb8d5c5d8d (diff)
downloadrust-fcdcea758ec03be56586d1e631f8b574a4626f6c.tar.gz
rust-fcdcea758ec03be56586d1e631f8b574a4626f6c.zip
Revert "Fix linking statics on Arm64EC #140176"
Unfortunately, multiple people are reporting linker warnings related to
`__rust_no_alloc_shim_is_unstable` after this change. The solution isn't
quite clear yet, let's revert to green for now, and try a reland with a
determined solution for `__rust_no_alloc_shim_is_unstable`.

This reverts commit c8b7f32434c0306db5c1b974ee43443746098a92, reversing
changes made to 667247db71ea18c4130dd018d060e7f09d589490.

(cherry picked from commit 734a5b1aa7888db3d86faffea1a15254022d68c9)
Diffstat (limited to 'compiler/rustc_middle/src')
-rw-r--r--compiler/rustc_middle/src/middle/exported_symbols.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_middle/src/middle/exported_symbols.rs b/compiler/rustc_middle/src/middle/exported_symbols.rs
index 64a1f2aff15..1d67d0fe3bb 100644
--- a/compiler/rustc_middle/src/middle/exported_symbols.rs
+++ b/compiler/rustc_middle/src/middle/exported_symbols.rs
@@ -22,7 +22,7 @@ impl SymbolExportLevel {
 }
 
 /// Kind of exported symbols.
-#[derive(Eq, PartialEq, Debug, Copy, Clone, Encodable, Decodable, HashStable, Hash)]
+#[derive(Eq, PartialEq, Debug, Copy, Clone, Encodable, Decodable, HashStable)]
 pub enum SymbolExportKind {
     Text,
     Data,