The name of NativeLib will be presented

This commit is contained in:
yukang
2023-03-17 09:23:46 +08:00
parent c22f154e3f
commit d5558e67ef
8 changed files with 71 additions and 56 deletions

View File

@@ -118,7 +118,7 @@ bitflags::bitflags! {
#[derive(Clone, Debug, Encodable, Decodable, HashStable)]
pub struct NativeLib {
pub kind: NativeLibKind,
pub name: Option<Symbol>,
pub name: Symbol,
pub filename: Option<Symbol>,
pub cfg: Option<ast::MetaItem>,
pub verbatim: bool,