1 2 3 4 5 6 7 8 9 10 11 12
//! Main entrypoint for syntext. //! //! Exposes a command-line interface to index and search code. #[cfg(not(target_arch = "wasm32"))] fn main() { let code = syntext::cli::run(); std::process::exit(code); } #[cfg(target_arch = "wasm32")] fn main() {}