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

generator doesn't run rustfmt #653

Closed
BeastLe9enD opened this issue Sep 1, 2022 · 1 comment · Fixed by #735
Closed

generator doesn't run rustfmt #653

BeastLe9enD opened this issue Sep 1, 2022 · 1 comment · Fixed by #735

Comments

@BeastLe9enD
Copy link
Contributor

BeastLe9enD commented Sep 1, 2022

Hey, I want to add support for VK_EXT_mesh_shader to ash. Unfortunately I have a problem running the generator. There are extra spaces between the code.

use std :: fmt ; use crate :: vk :: bitflags :: * ; use crate :: vk :: definitions :: * ; use crate :: vk :: enums :: * ;

I did the following to get the ash generator running:

  • I downloaded LLVM for bindgen and set LIBCLANG_PATH to C:\Program Files\LLVM\bin.
  • I cloned the newest version of ash
  • I ran cargo run --release --bin generator from the root directory.

The generator runs without issues, but the code looks weird. Running cargo fmt works, I just was curious if its a bug or just intended behaviour.

@filnet
Copy link
Contributor

filnet commented Sep 2, 2022

I ran into the same issue a while back. See #305.
Try to update your crates.

@MarijnS95 MarijnS95 changed the title Extra spaces between the code when running generator generator doesn't run rustfmt Apr 5, 2023
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

Successfully merging a pull request may close this issue.

2 participants