We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ff91d7 commit 66e3669Copy full SHA for 66e3669
crates/cargo-gpu/src/show.rs
@@ -67,8 +67,8 @@ impl Show {
67
}
68
69
Info::Targets => {
70
- for t in Self::available_spirv_targets_iter() {
71
- println!("{}", t);
+ for target in Self::available_spirv_targets_iter() {
+ println!("{target}");
72
73
74
@@ -85,6 +85,7 @@ impl Show {
85
(0..=last_capability).filter_map(spirv_builder::Capability::from_u32)
86
87
88
+ /// All supported spirv targets at the time cargo-gpu was compiled.
89
fn available_spirv_targets_iter() -> impl Iterator<Item = String> {
90
legacy_target_specs::TARGET_SPECS
91
.iter()
0 commit comments