Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ async-net = "2.0.0"
blocking = "1.3.0"
futures-lite = "2.0.0"

[target.'cfg(not(target_os = "espidf"))'.dependencies]
[target.'cfg(not(any(target_os = "espidf", target_os = "haiku")))'.dependencies]
async-process = "2.0.0"

[dev-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ pub use {
#[doc(inline)]
pub use {async_channel as channel, async_fs as fs, async_lock as lock, async_net as net};

#[cfg(not(target_os = "espidf"))]
#[cfg(not(any(target_os = "espidf", target_os = "haiku")))]
#[doc(inline)]
pub use async_process as process;

Expand Down
2 changes: 1 addition & 1 deletion src/spawn.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ pub fn spawn<T: Send + 'static>(future: impl Future<Output = T> + Send + 'static

// Prevent spawning another thread by running the process driver on this thread.
let ex = Executor::new();
#[cfg(not(target_os = "espidf"))]
#[cfg(not(any(target_os = "espidf", target_os = "haiku")))]
ex.spawn(async_process::driver()).detach();
ex
})
Expand Down
Loading