Skip to content

fix: generate-bindings fails on Windows #98

Description

@MusabYK

Summary

The generate-bindings script fails on Windows due to hardcoded bash invocation and the generate-bindings script treats windows as "Unsupported os".

Error:

<3>WSL (9) ERROR: CreateProcessCommon:559: execvpe(/bin/bash) failed: No such file or directory
error: recipe generate-bindings failed on line 43 with exit code 1

Proposed Solution

Refactor the generate-bindings recipe to conditionally execute native Cargo and UniFFI commands inside the native/ directory when running on Windows, while preserving the existing shell script execution for UNIX-based platforms.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions