Skip to content

Commit 87de5da

Browse files
committed
Rename Spirv to SpirvCLI
1 parent f0fc1ea commit 87de5da

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

crates/cargo-gpu/src/install.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//! Install a dedicated per-shader crate that has the `rust-gpu` compiler in it.
22
use std::io::Write as _;
33

4-
use crate::{cache_dir, spirv::Spirv, target_spec_dir};
4+
use crate::{cache_dir, spirv_cli::Spirv, target_spec_dir};
55

66
/// These are the files needed to create the dedicated, per-shader `rust-gpu` builder create.
77
const SPIRV_BUILDER_FILES: &[(&str, &str)] = &[

crates/cargo-gpu/src/main.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ use toml::Toml;
5959
mod build;
6060
mod install;
6161
mod show;
62-
mod spirv;
62+
mod spirv_cli;
6363
mod toml;
6464

6565
fn main() {
@@ -173,14 +173,14 @@ fn write_help(buffer: &mut impl std::io::Write, cmd: &mut clap::Command, _depth:
173173

174174
#[cfg(test)]
175175
mod test {
176-
use spirv::Spirv;
176+
use spirv_cli::Spirv as SpirvCLI;
177177

178178
use super::*;
179179

180180
#[test]
181181
fn cached_checkout_dir_sanity() {
182182
// Test that
183-
let spirv = Spirv::default();
183+
let spirv = SpirvCLI::default();
184184
let dir = spirv.cached_checkout_path();
185185
let name = dir
186186
.file_name()
File renamed without changes.

0 commit comments

Comments
 (0)