Skip to content

Default pyo3 dependency causing problems on ios builds #1475

Closed
@rubiktubik

Description

@rubiktubik

I have build the previous versions of mistralrs for ios without problems.

But with the latest version i'am getting the following error in xcode:

Error (Xcode): failed to run custom build command for `pyo3-ffi v0.25.1`
/Users/user/Documents/Projects/flutter/experimental/my_mistral_rs/ios/Pods/SEVERE:0:0


Error (Xcode): PYO3_CROSS_PYTHON_VERSION or an abi3-py3* feature must be specified when cross-compiling and
PYO3_CROSS_LIB_DIR is not set.
/Users/user/Documents/Projects/flutter/experimental/my_mistral_rs/ios/Pods/SEVERE:0:0

It seems mistral-rs is using a default pyo3 dependency.

Can i disable this dependency?

removing default features did not worked out

mistralrs = { git = "https://github.com/EricLBuehler/mistral.rs.git", branch = "master", features = [ "metal", ], default-features = false }

Great library btw!

Metadata

Metadata

Assignees

No one assigned

    Labels

    fixtriagedThis error has been reproduced or otherwise triaged.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions