File: build.rs

package info (click to toggle)
prs 0.5.2%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 1,464 kB
  • sloc: sh: 31; makefile: 25
file content (12 lines) | stat: -rw-r--r-- 457 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
fn main() {
    // Warn at compiletime if no interactive selection tool is configured
    #[cfg(all(
        not(all(feature = "select-skim", unix)),
        not(feature = "select-skim-bin"),
        not(feature = "select-fzf-bin"),
    ))]
    {
        println!("cargo:warning=no interactive select mode features configured, falling back to basic mode");
        println!("cargo:warning=use any of: select-skim, select-skim-bin, select-fzf-bin");
    }
}