| 1 | use std::env; |
| 2 | |
| 3 | fn main() { |
| 4 | // Keep the existing expansion-time directory available for custom macro |
| 5 | // calls. The shared enum and legacy adapter no longer rely on this path. |
| 6 | let icons_dir = env::var("DEP_GPUI_KIT_DEFAULT_ICONS_ICONS_DIR") |
| 7 | .expect("gpui-kit-assets publishes its icon directory through Cargo metadata"); |
| 8 | println!("cargo:rustc-env=GPUI_KIT_DEFAULT_ICONS_DIR={icons_dir}"); |
| 9 | println!("cargo:rerun-if-changed={icons_dir}"); |
| 10 | println!("cargo:rerun-if-changed=build.rs"); |
| 11 | } |