docs.rs failed to build gpufft-vulkan-sys-0.1.3
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
gpufft-vulkan-sys
Raw FFI bindings to VkFFT, vendored and built
from source at crate-build time. This is internal plumbing for
gpufft; you almost certainly want that
crate, not this one.
What this crate is
- Vendored copy of VkFFT v1.3.4 (header-only C++, MIT-licensed) under
vendor/VkFFT/. - A small C shim (
vkfft_shim.c) that exposes a C ABI to Rust. bindgen-generated bindings for that shim.- A
ccbuild step that compiles the shim + VkFFT.
What this crate is not
- A safe Rust API. All symbols are
unsafe. Usegpufftfor the typed trait surface. - A Vulkan loader. This crate expects Vulkan headers and loader to be available at build time; it does not vendor the Vulkan SDK.
Build prerequisites
- Vulkan headers + loader:
vulkan-headers,vulkan-loader-devel(Fedora) or the LunarG Vulkan SDK (Ubuntu/Debian/macOS). glslang+SPIRV-Toolsdevelopment packages for VkFFT's SPIR-V emission path.- A C++17-capable compiler (invoked via
cc).
pkg-config is used to locate Vulkan. If pkg-config fails, set
VULKAN_SDK to a directory containing include/vulkan/ and a loader
library.
Licensing
gpufft-vulkan-sys itself is Apache-2.0. The vendored VkFFT sources are
MIT-licensed; see vendor/VkFFT/LICENSE in the packaged crate and the
project NOTICE file in the repository.
Repository: https://github.com/alejandro-soto-franco/gpufft