diff options
Diffstat (limited to 'tests/ui/svh')
| -rw-r--r-- | tests/ui/svh/svh-no-api-change-no-recompile.rs | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/tests/ui/svh/svh-no-api-change-no-recompile.rs b/tests/ui/svh/svh-no-api-change-no-recompile.rs index 6e4b9fa7f4c..d4b8ac77444 100644 --- a/tests/ui/svh/svh-no-api-change-no-recompile.rs +++ b/tests/ui/svh/svh-no-api-change-no-recompile.rs @@ -1,10 +1,17 @@ +//! This test verifies that the Signature Version Hash (SVH) system correctly identifies +//! when changes to an auxiliary crate do not affect its public API. +//! +//! Specifically, it checks that adding non-public items to a crate does not alter +//! its SVH, preventing unnecessary recompilations of dependent crates. + //@ run-pass -// note that these aux-build directives must be in this order + +// Note that these aux-build directives must be in this order + //@ aux-build:svh-a-base.rs //@ aux-build:svh-b.rs //@ aux-build:svh-a-base.rs - extern crate a; extern crate b; |
