We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
在MaaXYZ/MaaFramework@3c73651 中,MaaAdbControllerType被更改为了使用掩码的int类型,而仓库中的代码还是更改之前的逻辑。但是makedeps.py中指定的v1.7.0-alpha.2却包括了这个commit,导致bindgen生成的类型对应不上,编译不通过。 是有部分文件没有更新吗? 编译错误示例
MaaAdbControllerType
makedeps.py
v1.7.0-alpha.2
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`
The text was updated successfully, but these errors were encountered:
无法复现,我可以正常编译运行
尝试cargo clean之后重新编译
cargo clean
Sorry, something went wrong.
No branches or pull requests
在MaaXYZ/MaaFramework@3c73651 中,
MaaAdbControllerType
被更改为了使用掩码的int类型,而仓库中的代码还是更改之前的逻辑。但是makedeps.py
中指定的v1.7.0-alpha.2
却包括了这个commit,导致bindgen
生成的类型对应不上,编译不通过。是有部分文件没有更新吗?
编译错误示例
The text was updated successfully, but these errors were encountered: