Skip to content

Improve .cargo/config section in the Writing Shader Crates documentation #209

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
newDINO opened this issue Jan 25, 2025 · 1 comment
Open
Labels
enhancement New feature or request

Comments

@newDINO
Copy link

newDINO commented Jan 25, 2025

  1. Add git clone https://github.com/Rust-GPU/rust-gpu.git --depth 1 to the end of "Clone the rust-gpu repository"
  2. Change "cargo build --release in rust-gpu" into "cargo build -r -p rustc_codegen_spirv in rust-gpu"

These small changes may reduce the downloading and compiling time as well as space occupation for new users.

@newDINO newDINO added the enhancement New feature or request label Jan 25, 2025
@Firestar99
Copy link
Member

Most of the docs are sadly very outdated right now, in part cause we're starting to replace most ways of running the compiler, with cargo-gpu slowly turning into the new de-facto way. While it progressed far already, it is not yet ready for a full release.

I'm not even sure the Using `.cargo/config.toml` way even works anymore.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants