Files
reims-vgpu/docs
Anees Iqbal 99bfd0583f 🐛 Build the library on Linux without the vulkan feature
On Linux the Vulkan platform is the library's only one, yet reims-vgpu and
reims-vgpu-c refused to build without their `vulkan` features (a
compile_error!), and the code behind it did not compile either: a
default-feature Linux build of the package failed. A crate that does not
build in a feature setting is a failure, so the platform is now unconditional
on Linux.

- reims-vgpu's new build script sets `cfg(vulkan_platform)` on Linux, and on
  macOS with the `vulkan` feature, declared for check-cfg. Every
  `feature = "vulkan"` gate in the crate is that cfg; the gates of "macOS or
  the feature", true on every target the library builds for, are gone.
- The Vulkan platform's dependencies are not optional on Linux; on macOS they
  stay the feature's, optional, so the Mac's default build is as before.
- reims-vgpu-c makes every handle on VulkanPlatform on Linux whatever its
  features; the compile_error!s go.

Behaviour is unchanged on both OSes: on macOS every cfg answers as the
feature did, and on Linux as the builds with the feature did. The docs and
comments that said Linux needs the feature say it no longer does.
2026-11-07 06:54:33 -08:00
..