Skip to content

Remove KDMAPI lib for FreeBSD and other OSes #89

Open
@yurivict

Description

@yurivict

Build fails:

error[E0308]: mismatched types
  --> /wrkdirs/usr/ports/audio/wasabi/work/kdmapi-rs-e1db353ab5f0726b362ac24179f942cd5fd1c29d/src/lib.rs:55:5
   |
55 | /     unsafe {
56 | |         #[cfg(target_os = "windows")]
57 | |         {
58 | |             // Try "OmniMIDI\\OmniMIDI"
...  |
73 | |         return Library::new("libOmniMIDI.dylib");
74 | |     }
   | |_____^ expected `Result<Library, Error>`, found `()`
   |
   = note:   expected enum `Result<libloading::Library, libloading::Error>`
           found unit type `()`

rust-nightly-1.84.0.20241104
Version: 1.0.0
FreeBSD 14.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestlow priorityThis is a low priority issue / feature request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions