Skip to content

Commit fcb4fdf

Browse files
alphastrataFirestar99
authored andcommitted
fix: undo doc edits, llvm-tools is already in the rust-toolchain.toml
1 parent f944f09 commit fcb4fdf

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

docs/src/building-rust-gpu.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,6 @@ build the examples - specifically, x11 and libxkbcommon, as well as gcc/clang wi
2626
called (fedora) `libX11-devel`, `libxkbcommon-x11-devel`, and `gcc-c++`, or (ubuntu) `libxkbcommon-x11-dev`,
2727
`libx11-dev`, and `gcc`.
2828
29-
## Prerequisite windows packages:
30-
Ensure you have `rust-lld.exe` installed with: `rustup component add llvm-tools-preview`, the repo ships with a `rust-lld.exe` configuration to get around the _default_ `msvc` compiler's symbol limit of `65535`, if you're seeing `LNK1189` or `LNK1248` errors suggested reading materials: [LNK1189](LNK1189), [LNK1248](LNK1248) please make an [Issue](Issue) if you see these errors as these problems are supposed to be handled for you in the `.cargo/config.toml` file where the Rust-GPU project explicitly overrides the default linker and passes flags to mitigate the above.
31-
3229
## Using installed SPIRV-Tools
3330
3431
By default, all of the crates and examples in this repo will compile the [`spirv-tools-sys`](https://crates.io/crates/spirv-tools-sys) crate, including a lot of C++ code from [SPIRV-Tools](https://github.com/EmbarkStudios/SPIRV-Tools). If you don't want to build the C++ code because you already have [SPIRV-Tools](https://github.com/KhronosGroup/SPIRV-Tools#downloads) installed, or just don't want to spend more time compiling, you can build/run the crate with the `use-installed-tools` feature.
@@ -49,6 +46,3 @@ You should see `warning: use-installed-tools feature on, skipping compilation of
4946
[examples/runners/cpu]: https://github.com/rust-gpu/rust-gpu/tree/main/examples/runners/cpu
5047
[examples/runners/wgpu]: https://github.com/rust-gpu/rust-gpu/tree/main/examples/runners/wgpu
5148
[examples/shaders]: https://github.com/rust-gpu/rust-gpu/tree/main/examples/shaders
52-
[LNK1189](https://learn.microsoft.com/en-us/cpp/error-messages/tool-errors/linker-tools-error-lnk1189?view=msvc-170)
53-
[LNK1248](https://learn.microsoft.com/en-us/cpp/error-messages/tool-errors/linker-tools-error-lnk1248?view=msvc-170)
54-
[Issue](https://github.com/Rust-GPU/rust-gpu/issues)

0 commit comments

Comments
 (0)