fix(napi): export tokio_runtime only when tokio_rt feature enabled
This commit is contained in:
parent
813d671d76
commit
698bc701e8
1 changed files with 1 additions and 0 deletions
|
@ -158,6 +158,7 @@ macro_rules! assert_type_of {
|
|||
pub mod bindgen_prelude {
|
||||
#[cfg(feature = "compat-mode")]
|
||||
pub use crate::bindgen_runtime::register_module_exports;
|
||||
#[cfg(feature = "tokio_rt")]
|
||||
pub use crate::tokio_runtime::*;
|
||||
pub use crate::{
|
||||
assert_type_of, bindgen_runtime::*, check_status, check_status_or_throw, error, error::*, sys,
|
||||
|
|
Loading…
Reference in a new issue