-
Notifications
You must be signed in to change notification settings - Fork 248
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
Unable to compile spirv-std-macros
with old Cargo.lock
.
#1053
Comments
Does this go away when you run
But some other dependencies are forcing newer versions: Lines 2386 to 2388 in a64857a
Thankfully, this shouldn't affect newer projects, as Cargo will always pick the newest version when creating the This is probably not strong enough, but we should at least run But I just tried that and it fails to compile EDIT: turns out that this can be used by making an isolated package that depends on |
spirv-std-macros
with old Cargo.lock
.
@dsvensson I've opened a tentative fix: But note that the simplest fix for that project is still likely running |
Aha, doh, so deleting Cargo.lock and rebuilding, should have tried. 🤦♂️ Thanks, works now. |
No, that's a really bad idea, you want to minimize When you're trying to fix something, you shouldn't change unrelated things that could cause other complications. |
Agree generally, but this is a small toy project almost no deps, and I'm just scouting around various vulkan related projects. |
When trying to get this project working with more recent versions of dependencies I get the following with spirv-std bumped to 0.7.0
I bumped the rust-toolchain.toml to the same as in this repo fwiw.
The text was updated successfully, but these errors were encountered: