Skip to content

Commit 38a898b

Browse files
committed
svh-add-nothing
1 parent 1b3282f commit 38a898b

File tree

3 files changed

+9
-40
lines changed

3 files changed

+9
-40
lines changed

tests/ui/auxiliary/svh-a-base.rs

Lines changed: 0 additions & 25 deletions
This file was deleted.

tests/ui/auxiliary/svh-b.rs

Lines changed: 0 additions & 13 deletions
This file was deleted.

tests/ui/svh/svh-no-api-change-no-recompile.rs

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,17 @@
1+
//! This test verifies that the Signature Version Hash (SVH) system correctly identifies
2+
//! when changes to an auxiliary crate do not affect its public API.
3+
//!
4+
//! Specifically, it checks that adding non-public items to a crate does not alter
5+
//! its SVH, preventing unnecessary recompilations of dependent crates.
6+
17
//@ run-pass
2-
// note that these aux-build directives must be in this order
8+
9+
// Note that these aux-build directives must be in this order
10+
311
//@ aux-build:svh-a-base.rs
412
//@ aux-build:svh-b.rs
513
//@ aux-build:svh-a-base.rs
614

7-
815
extern crate a;
916
extern crate b;
1017

0 commit comments

Comments
 (0)