Fix non-unix build
This commit is contained in:
parent
d63ceb730f
commit
d6a2b6bdf6
1 changed files with 9 additions and 1 deletions
|
|
@ -2,10 +2,18 @@ use crate::message::Message;
|
|||
use anyhow::Result;
|
||||
use tokio::sync::mpsc;
|
||||
|
||||
#[cfg(target_family = "unix")]
|
||||
mod browser_unix;
|
||||
|
||||
#[cfg(target_family = "unix")]
|
||||
use browser_unix::handle_browser_open_impl;
|
||||
|
||||
mod browser_unix;
|
||||
#[cfg(not(target_family = "unix"))]
|
||||
async fn handle_browser_open_impl(
|
||||
messages: mpsc::Sender<Message>,
|
||||
) -> Result<()> {
|
||||
std::future::pending().await
|
||||
}
|
||||
|
||||
#[inline]
|
||||
pub async fn handle_browser_open(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue