Skip to content
New issue

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

Mirai 使用 * 作为版本号 #7

Open
zjp-CN opened this issue Nov 22, 2024 · 0 comments
Open

Mirai 使用 * 作为版本号 #7

zjp-CN opened this issue Nov 22, 2024 · 0 comments

Comments

@zjp-CN
Copy link
Member

zjp-CN commented Nov 22, 2024

mirai 昨天还能编译今天就编译出现 mismatched types...

我很惊讶它的依赖配置几乎都使用 "*" 而不是具体的版本号,这不是一个成熟的做法。

几个小时前 cargo_metadata 发布了新版本,从 0.18.1 升级到 0.19,有一个 breaking change —— TargetKind 之前是字符串,现在是一个 enum;我没有使用 --locked 参数,于是 Cargo 重新计算依赖版本,并使用了最新的版本,导致了编译错误。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant