Implement #[link_ordinal] attribute in the context of #[link(kind = "raw-dylib")].
This commit is contained in:
parent
60e70cc909
commit
142f6c0b07
20 changed files with 201 additions and 23 deletions
|
@ -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>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue