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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions