Skip to content

bug: changing repo URL does not do fresh clone #65

@149segolte

Description

@149segolte

When testing different rust-gpu builds by setting spirv_builder_source to different repo URLs the cli fails with error:

[2025-04-09T17:48:43Z ERROR cargo_gpu] running spirv cli

    Caused by:
        0: get_rust_gpu_deps_from_shader
        1: couldn't checkout revision 'ffa710b8623a3fd2bd439757df77f2e8150c4955' of `rust-gpu` at /home/one49segolte/.cache/rust-gpu/rust-gpu-repo/https___github_com_LegNeato_rust-gpu+ffa710b8623a3fd2bd439757df77f2e8150c4955
Error: running spirv cli

Initially I was using spirv_builder_source = "https://github.com/Rust-GPU/rust-gpu" then I switched to spirv_builder_source = "https://github.com/LegNeato/rust-gpu" but it tried to duplicate the previous repo's folder and failed to find the revision ffa710b8623a3fd2bd439757df77f2e8150c4955 which exists at the new URL not the previous one.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions