Skip to content

Allow non IOS builds (for our dev tools) #1

@colbyn

Description

@colbyn

This check in build.rs breaks my development tools.
I.e. !target.contains("apple-ios") in:

fn main() {
    let target = std::env::var("TARGET").unwrap();
    if !target.contains("apple-ios") { 
        panic!("uikit-sys requires the ios target");
    }

    let directory = sdk_path(&target).ok();
    build(directory.as_ref().map(String::as_ref), &target);
}

I believe the rust wasm bindgen team just implemented stubs for non WebAssembly targets. Can this library do the same?

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