Skip to content

Commit

Permalink
suppress warning for stdio rpc server
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon-Laux committed Oct 3, 2024
1 parent 5b7c359 commit 79b7bab
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions deltachat-rpc-server/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ async fn main() {
std::process::exit(if r.is_ok() { 0 } else { 1 });
}

#[allow(unexpected_cfgs)]
async fn main_impl() -> Result<()> {
let mut args = env::args_os();
let _program_name = args.next().context("no command line arguments found")?;
Expand Down Expand Up @@ -73,6 +74,7 @@ async fn main_impl() -> Result<()> {
.with_writer(std::io::stderr)
.with_filter(EnvFilter::from_default_env()),
);

#[cfg(tokio_unstable)]
{
subscribers.with(console_subscriber::spawn())
Expand Down

0 comments on commit 79b7bab

Please sign in to comment.