Skip to main content

max / makeover-webview

655 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 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: one build.rs run writing
8 //! layout.css from one version and tables.css from another.
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