kitab

Unnamed repository; edit this file 'description' to name the repository.
Info | Log | Files | Refs | LICENSE

commit f298f4c86c6ab89a35d6a1d4b960172f23c8f490
parent 6bbd01c49e7664e92caa41ca262f3b84dd68dbb1
Author: lash <dev@holbrook.no>
Date:   Tue,  2 Aug 2022 10:45:13 +0000

Friendly feedback for os target mismatch

Diffstat:
Msrc/lib.rs | 7+++++++
1 file changed, 7 insertions(+), 0 deletions(-)

diff --git a/src/lib.rs b/src/lib.rs @@ -96,8 +96,15 @@ //! //! `kitab` uses [env_logger](env_logger). Loglevel can be set using the //! `RUST_LOG` environment variable to see what's going on when running the tool. +//! +//! ## Caveats +//! +//! For now only linux is supported. #![crate_name = "kitab"] +#[cfg(not(target_os = "linux"))] +compile_error!("only linux is supported for now"); + pub mod meta; pub mod dc;