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_codegen_ssa/src/lib.rs | |
| parent | c3ce4e66a5732a5b89c9f495b44357bf6b29d424 (diff) | |
| download | rust-57b9b1f9745a56943cc0aebc4c3ec487945f044e.tar.gz rust-57b9b1f9745a56943cc0aebc4c3ec487945f044e.zip | |
Use `ast::NestedMetaItem` when evaluating cfg predicate
Diffstat (limited to 'compiler/rustc_codegen_ssa/src/lib.rs')
| -rw-r--r-- | compiler/rustc_codegen_ssa/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_ssa/src/lib.rs b/compiler/rustc_codegen_ssa/src/lib.rs index 162d14272a5..3129b9ac203 100644 --- a/compiler/rustc_codegen_ssa/src/lib.rs +++ b/compiler/rustc_codegen_ssa/src/lib.rs @@ -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>, } |
