mirror of
https://github.com/rosenpass/rosenpass.git
synced 2026-02-28 06:23:08 -08:00
20 lines
673 B
Rust
20 lines
673 B
Rust
#[cfg(any(target_os = "linux", target_os = "freebsd"))]
|
|
mod cli;
|
|
#[cfg(any(target_os = "linux", target_os = "freebsd"))]
|
|
mod exchange;
|
|
#[cfg(any(target_os = "linux", target_os = "freebsd"))]
|
|
mod key;
|
|
|
|
#[cfg(any(target_os = "linux", target_os = "freebsd"))]
|
|
mod main_supported_platforms;
|
|
|
|
#[cfg(any(target_os = "linux", target_os = "freebsd"))]
|
|
fn main() -> anyhow::Result<()> {
|
|
main_supported_platforms::main()
|
|
}
|
|
|
|
#[cfg(not(any(target_os = "linux", target_os = "freebsd")))]
|
|
fn main() {
|
|
panic!("Unfortunately, the rp command is currently not supported on your platform. See https://github.com/rosenpass/rosenpass/issues/689 for more information and discussion.")
|
|
}
|