]> git.proxmox.com Git - rustc.git/blobdiff - compiler/rustc_middle/src/middle/codegen_fn_attrs.rs
New upstream version 1.57.0+dfsg1
[rustc.git] / compiler / rustc_middle / src / middle / codegen_fn_attrs.rs
index b2705c7693914919901344d957cb4a92f73eeb15..b054d21adaa139354d5c3ba05fe70d18fd19e1d7 100644 (file)
@@ -22,7 +22,7 @@ pub struct CodegenFnAttrs {
     /// imported function has in the dynamic library. Note that this must not
     /// be set when `link_name` is set. This is for foreign items with the
     /// "raw-dylib" kind.
-    pub link_ordinal: Option<usize>,
+    pub link_ordinal: Option<u16>,
     /// The `#[target_feature(enable = "...")]` attribute and the enabled
     /// features (only enabled features are supported right now).
     pub target_features: Vec<Symbol>,