diff options
| author | Urgau <urgau@numericable.fr> | 2024-09-18 17:44:32 +0200 |
|---|---|---|
| committer | Urgau <urgau@numericable.fr> | 2024-10-01 10:01:09 +0200 |
| commit | 57b9b1f9745a56943cc0aebc4c3ec487945f044e (patch) | |
| tree | 54688059c287db2d7f2a33ed6205fe9b3673ab4d /compiler/rustc_session/src | |
| parent | c3ce4e66a5732a5b89c9f495b44357bf6b29d424 (diff) | |
Use `ast::NestedMetaItem` when evaluating cfg predicate
Diffstat (limited to 'compiler/rustc_session/src')
| -rw-r--r-- | compiler/rustc_session/src/cstore.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_session/src/cstore.rs b/compiler/rustc_session/src/cstore.rs index 66ad70d8d18..b936a299b09 100644 --- a/compiler/rustc_session/src/cstore.rs +++ b/compiler/rustc_session/src/cstore.rs @@ -72,7 +72,7 @@ pub struct NativeLib { pub name: Symbol, /// If packed_bundled_libs enabled, actual filename of library is stored. pub filename: Option<Symbol>, - pub cfg: Option<ast::MetaItem>, + pub cfg: Option<ast::NestedMetaItem>, pub foreign_module: Option<DefId>, pub verbatim: Option<bool>, pub dll_imports: Vec<DllImport>, |
