▲ | zbentley 6 days ago | |||||||||||||||||||||||||||||||||||||
Say more? | ||||||||||||||||||||||||||||||||||||||
▲ | max-privatevoid 6 days ago | parent [-] | |||||||||||||||||||||||||||||||||||||
Rust GPU libraries such as wgpu and ash rely on external libraries such as vulkan-loader to load the actual ICDs, but for some reason Rust people really love dlopening them instead of linking to them normally. Then it's up to the consumer to configure their linker flags correctly so RPATH gets set correctly when needed, but because most people don't know how to use their linker, they usually end up with dumb hacks like these instead: https://github.com/Rust-GPU/rust-gpu/blob/87ea628070561f576a... https://github.com/gfx-rs/wgpu/blob/bf86ac3489614ed2b212ea2f... | ||||||||||||||||||||||||||||||||||||||
|