mirror of
https://git.ethanthesleepy.one/ethanaobrien/ew
synced 2026-01-12 00:02:38 +08:00
11 lines
269 B
Rust
11 lines
269 B
Rust
|
|
#[cfg(not(feature = "library"))]
|
|
fn main() -> std::io::Result<()> {
|
|
ew::run_server(false)
|
|
}
|
|
|
|
#[cfg(feature = "library")]
|
|
fn main() {
|
|
panic!("Compiled with the library feature! You should load the shared object library and call the exported methods there.");
|
|
}
|