mirror of
https://git.ethanthesleepy.one/ethanaobrien/ew
synced 2026-01-12 08:12:36 +08:00
Add wip android/ios lib builds
This commit is contained in:
@@ -1,4 +1,10 @@
|
||||
|
||||
#[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.");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user