Skip to content

Build fails for Android targets #27

Description

@wuwbobo2021

In dlopen2/src/raw/unix.rs:

#[cfg(not(any(target_os = "linux", target_os = "macos")))]
use {
    once_cell::sync::Lazy,
    std::sync::{LockResult, Mutex, MutexGuard},
};

However, once_cell is not added in Cargo.toml as a dependency for non-Linux, non-MacOS Unix targets.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions