diff options
| author | Andrew Zhogin <andrew.zhogin@gmail.com> | 2024-11-18 04:07:29 +0700 |
|---|---|---|
| committer | Andrew Zhogin <andrew.zhogin@gmail.com> | 2025-02-02 22:12:49 +0700 |
| commit | 05c88a31e7d421b311710571b80add5c0959a6d3 (patch) | |
| tree | 94180ee4afae9ec0a61aba2cc6b1467e4e720bcd /compiler/rustc_interface/src | |
| parent | 01a26c026ddd9f0da0307468b07b003b8759fc4a (diff) | |
| download | rust-05c88a31e7d421b311710571b80add5c0959a6d3.tar.gz rust-05c88a31e7d421b311710571b80add5c0959a6d3.zip | |
Target modifiers (special marked options) are recorded in metainfo and compared to be equal in different crates
Diffstat (limited to 'compiler/rustc_interface/src')
| -rw-r--r-- | compiler/rustc_interface/src/passes.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_interface/src/passes.rs b/compiler/rustc_interface/src/passes.rs index 241bc35857a..f9cb5f217a5 100644 --- a/compiler/rustc_interface/src/passes.rs +++ b/compiler/rustc_interface/src/passes.rs @@ -269,6 +269,7 @@ fn configure_and_expand( resolver.resolve_crate(&krate); + CStore::from_tcx(tcx).report_incompatible_target_modifiers(tcx, &krate); krate } |
