Skip to content

stale librustc_codegen_cuda.so may cause problems after updating cuda-oxide #49

Closed

Description

@mutantbob

~/.cargo/cuda-oxide/librustc_codegen_cuda.so can cause problems if it does not match the ~/.cargo/bin/cargo-oxide .

cargo uninstall cuda-oxide does not remove librustc_codegen_cuda.so .

cargo install --path ~/vendor/cuda-oxide/crates/cargo-oxide cargo-oxide does not replace librustc_codegen_cuda.so with a fresh version based on the code in the --path .

Also

~/.cargo/cuda-oxide/src is pulled from github instead of the --path used to install cargo-oxide. This can cause a mismatch as well. I do not know if switching this will break something else. I have not yet found a section in the book that outlines the workflow for developing and testing modifications to the codegen and other cuda-oxide tools, but so far I think that

rm ~/.cargo/cuda-oxide/librustc_codegen_cuda.so 
cargo install --path ~/vendor/cuda-oxide/crates/cargo-oxide cargo-oxide

might be part of it until I find a better solution.

Activity

  1. added a commit that references this issue on May 16, 2026
    b41248f
  2. added a commit that references this issue on May 16, 2026
    d0844eb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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