mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-11-16 05:41:16 +01:00
The Windows and macOS komorebic embed applications.json with include_str!, and build.rs downloaded it when missing (the files were git-ignored). A build script that needs reqwest, and so openssl on Linux, cannot be part of one package that also builds there, and the download made nix builds depend on a copy step. The two files are now committed, byte-identical to the asc flake input (applications.json and applications.mac.json, checked with cmp); the Windows build.rs keeps only shadow-rs; the macOS build.rs is gone. The flake preBuild copy of the input file stays and is now a no-op. Not behaviour: same embedded bytes. Verified: fast-check --since base: Windows clippy PASS, macOS fake-CC check PASS (--locked, so Cargo.lock unchanged). Not verified: nix builds.
6 lines
92 B
Rust
6 lines
92 B
Rust
use shadow_rs::ShadowBuilder;
|
|
|
|
fn main() {
|
|
ShadowBuilder::builder().build().unwrap();
|
|
}
|