about summary refs log tree commit diff
path: root/compiler/rustc_codegen_ssa
diff options
context:
space:
mode:
authorDaniel Paoliello <danpao@microsoft.com>2023-03-27 10:42:22 -0700
committerDaniel Paoliello <danpao@microsoft.com>2023-04-18 11:01:07 -0700
commit1ece1ea48c0d9e4c8414abf872626f7a54747976 (patch)
tree2c046e9550324d191c375622ee6837caf7dc5701 /compiler/rustc_codegen_ssa
parentde96f3d8735b70d5dc1ca178aaee198b329b8f3d (diff)
downloadrust-1ece1ea48c0d9e4c8414abf872626f7a54747976.tar.gz
rust-1ece1ea48c0d9e4c8414abf872626f7a54747976.zip
Stablize raw-dylib, link_ordinal and -Cdlltool
Diffstat (limited to 'compiler/rustc_codegen_ssa')
-rw-r--r--compiler/rustc_codegen_ssa/src/codegen_attrs.rs9
1 files changed, 0 insertions, 9 deletions
diff --git a/compiler/rustc_codegen_ssa/src/codegen_attrs.rs b/compiler/rustc_codegen_ssa/src/codegen_attrs.rs
index 8542bab689d..87d42a89a82 100644
--- a/compiler/rustc_codegen_ssa/src/codegen_attrs.rs
+++ b/compiler/rustc_codegen_ssa/src/codegen_attrs.rs
@@ -594,15 +594,6 @@ fn should_inherit_track_caller(tcx: TyCtxt<'_>, def_id: DefId) -> bool {
 
 fn check_link_ordinal(tcx: TyCtxt<'_>, attr: &ast::Attribute) -> Option<u16> {
     use rustc_ast::{LitIntType, LitKind, MetaItemLit};
-    if !tcx.features().raw_dylib && tcx.sess.target.arch == "x86" {
-        feature_err(
-            &tcx.sess.parse_sess,
-            sym::raw_dylib,
-            attr.span,
-            "`#[link_ordinal]` is unstable on x86",
-        )
-        .emit();
-    }
     let meta_item_list = attr.meta_item_list();
     let meta_item_list = meta_item_list.as_deref();
     let sole_meta_list = match meta_item_list {