diff options
| author | Camille GILLOT <gillot.camille@gmail.com> | 2020-11-14 16:35:31 +0100 | 
|---|---|---|
| committer | Camille GILLOT <gillot.camille@gmail.com> | 2021-10-03 16:08:53 +0200 | 
| commit | c355b2e5cd74a6c9b80e6d31e39c5ea40497498f (patch) | |
| tree | c20a072026ccb291b5c9ddf95423ce5c97502bf1 /compiler/rustc_query_system/src/ich/mod.rs | |
| parent | 2d38c53767dd9a4e74b347f663eb7f41dea9232c (diff) | |
| download | rust-c355b2e5cd74a6c9b80e6d31e39c5ea40497498f.tar.gz rust-c355b2e5cd74a6c9b80e6d31e39c5ea40497498f.zip | |
Move ICH to rustc_query_system.
Diffstat (limited to 'compiler/rustc_query_system/src/ich/mod.rs')
| -rw-r--r-- | compiler/rustc_query_system/src/ich/mod.rs | 19 | 
1 files changed, 19 insertions, 0 deletions
| diff --git a/compiler/rustc_query_system/src/ich/mod.rs b/compiler/rustc_query_system/src/ich/mod.rs new file mode 100644 index 00000000000..54416902e5f --- /dev/null +++ b/compiler/rustc_query_system/src/ich/mod.rs @@ -0,0 +1,19 @@ +//! ICH - Incremental Compilation Hash + +pub use self::hcx::{NodeIdHashingMode, StableHashingContext}; +use rustc_span::symbol::{sym, Symbol}; + +mod hcx; +mod impls_hir; +mod impls_syntax; + +pub const IGNORED_ATTRIBUTES: &[Symbol] = &[ + sym::cfg, + sym::rustc_if_this_changed, + sym::rustc_then_this_would_need, + sym::rustc_dirty, + sym::rustc_clean, + sym::rustc_partition_reused, + sym::rustc_partition_codegened, + sym::rustc_expected_cgu_reuse, +]; | 
