Some checks failed
Build and Test / friends (push) Successful in 9m35s
Build and Test / wii-u-chat (push) Has been cancelled
Build and Test / puyopuyo (push) Has been cancelled
Build and Test / sonic-transformed (push) Has been cancelled
Build and Test / super-mario-maker (push) Has been cancelled
Build and Test / minecraft-wiiu (push) Has been cancelled
Build and Test / wii-sports-club (push) Has been cancelled
Build and Test / splatoon (push) Has been cancelled
Build and Test / splatoon-testfire (push) Has been cancelled
Build and Test / fast-racing-neo (push) Has been cancelled
Build and Test / mario-tennis (push) Has been cancelled
21 lines
474 B
Rust
21 lines
474 B
Rust
use std::process::abort;
|
|
|
|
use cfg_if::cfg_if;
|
|
use tracing::error;
|
|
|
|
cfg_if! {
|
|
if #[cfg(feature = "prudpv0")]{
|
|
pub use prudpv0::*;
|
|
} else if #[cfg(feature = "prudpv1")] {
|
|
pub use prudpv1_proxy::*;
|
|
} else if #[cfg(feature = "prudplite")]{
|
|
pub use prudplite::*;
|
|
} else {
|
|
compile_error!("no proxy type has been set");
|
|
}
|
|
}
|
|
|
|
pub fn edge_node_dc_callback() {
|
|
error!("disconnected from node holder, aborting!");
|
|
abort()
|
|
}
|