15 lines
530 B
Rust
15 lines
530 B
Rust
// file: crates/ksp-app-backfill-desk/tests/public_api.rs
|
|
// version: 1
|
|
|
|
//! Public API checks for the KSP Backfill desktop application library.
|
|
|
|
#![forbid(unsafe_code)]
|
|
#![deny(unreachable_pub)]
|
|
#![warn(missing_docs)]
|
|
|
|
#[test]
|
|
fn run_entry_point_is_available_from_crate_root() {
|
|
let run_entry_point: fn(&[std::ffi::OsString]) -> ksp_core_lib::Result<()> = ksp_app_backfill_desk_lib::run;
|
|
assert_eq!(std::mem::size_of_val(&run_entry_point), std::mem::size_of::<fn(&[std::ffi::OsString]) -> ksp_core_lib::Result<()>>());
|
|
}
|