Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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 @@ -32,7 +32,7 @@ keywords = ["flutter", "dart", "ffi", "code-generation", "bindings"]
categories = ["development-tools::ffi"]

[workspace.dependencies]
allo-isolate = { version = "0.1.25", features = ["anyhow"] }
allo-isolate = "0.1.25"
#allo-isolate = { git = "https://github.com/shekohex/allo-isolate", features = ["anyhow"] }
anyhow = "1.0.64"
chrono = "0.4.23"
Expand Down
2 changes: 1 addition & 1 deletion frb_rust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ web-sys = { version = "0.3.58", features = [
[target.'cfg(target_os = "android")'.dependencies]
android_logger = { version = "0.13" , optional = true }

[target.'cfg(target_os = "ios")'.dependencies]
[target.'cfg(any(target_os = "ios", target_os = "macos"))'.dependencies]
oslog = { version = "0.1.0" , optional = true }

[build-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion frb_rust/src/misc/user_utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ fn setup_log_to_console() {
android_logger::Config::default().with_max_level(log::LevelFilter::Trace),
);

#[cfg(target_os = "ios")]
#[cfg(any(target_os = "ios", target_os = "macos"))]
let _ = oslog::OsLogger::new("frb_user")
.level_filter(log::LevelFilter::Trace)
.init();
Expand Down