Use ast::NestedMetaItem
when evaluating cfg predicate
This commit is contained in:
parent
c3ce4e66a5
commit
57b9b1f974
11 changed files with 62 additions and 37 deletions
|
@ -156,7 +156,7 @@ pub struct NativeLib {
|
|||
pub kind: NativeLibKind,
|
||||
pub name: Symbol,
|
||||
pub filename: Option<Symbol>,
|
||||
pub cfg: Option<ast::MetaItem>,
|
||||
pub cfg: Option<ast::NestedMetaItem>,
|
||||
pub verbatim: bool,
|
||||
pub dll_imports: Vec<cstore::DllImport>,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue