Skip to main content

max / makeover-layout

651 B · 15 lines History Blame Raw
1 //! Nothing is built here. The file exists because `links` in Cargo.toml
2 //! requires it, and `links` is what makes two copies of this vocabulary in one
3 //! dependency graph a resolver error rather than a silent second copy.
4 //!
5 //! Cargo permits exactly one crate with a given `links` value per graph. That
6 //! is the same property `libsqlite3-sys` gives rusqlite, and it is why a
7 //! version bump here is tree-wide rather than per-repo. Intended: version skew
8 //! across consumers is the thing being prevented.
9 //!
10 //! The guard only bites between versions that both declare `links`.
11
12 fn main() {
13 println!("cargo::rerun-if-changed=build.rs");
14 }
15