Skip to content
This repository was archived by the owner on Jan 16, 2025. It is now read-only.
This repository was archived by the owner on Jan 16, 2025. It is now read-only.

关于maa-framework-rs的编译问题 #5

@ElysiaEgo

Description

@ElysiaEgo

MaaXYZ/MaaFramework@3c73651 中,MaaAdbControllerType被更改为了使用掩码的int类型,而仓库中的代码还是更改之前的逻辑。但是makedeps.py中指定的v1.7.0-alpha.2却包括了这个commit,导致bindgen生成的类型对应不上,编译不通过。
是有部分文件没有更新吗?
编译错误示例

error[E0308]: mismatched types
   --> /home/.../.cargo/registry/src/index.crates.io-6f17d22bba15001f/maa-framework-0.3.2/src/toolkit.rs:103:21
    |
103 |                     adb_controller_type,
    |                     ^^^^^^^^^^^^^^^^^^^ expected `MaaAdbControllerType`, found `i32`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions