Skip to main content

max / makeover-webview

793 B · 17 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 renderer in one
3 //! dependency graph a resolver error rather than a silent second copy.
4 //!
5 //! This crate decides class names. Two versions in one build means the
6 //! stylesheet a build script generates and the markup the runtime emits can
7 //! come off different vocabularies and still compile, which is what goingson
8 //! was doing until 2026-08-11: layout.css written by 0.25.1 and tables.css by
9 //! 0.26.0, from one build.rs run.
10 //!
11 //! The guard only bites between versions that both declare `links`, so it
12 //! stops future skew rather than skew against anything published before 0.28.0.
13
14 fn main() {
15 println!("cargo::rerun-if-changed=build.rs");
16 }
17