mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-21 06:50:59 +01:00
* Add basic NetBSD support - closes https://github.com/gfx-rs/wgpu/issues/8541 - replaces https://github.com/gfx-rs/wgpu/pull/8679 ``` Tests: Summary [ 149.522s] 469 tests run: 463 passed, 6 failed, 0 skipped FAIL [ 0.095s] naga::naga snapshots::convert_snapshots_spv FAIL [ 0.387s] wgpu-benchmark::bench/wgpu-benchmark Computepass Encoding FAIL [ 0.386s] wgpu-benchmark::bench/wgpu-benchmark Device::create_bind_group FAIL [ 0.378s] wgpu-benchmark::bench/wgpu-benchmark Device::create_buffer FAIL [ 0.389s] wgpu-benchmark::bench/wgpu-benchmark Renderpass Encoding FAIL [ 0.075s] wgpu-test::wgpu-validation api::instance::multi_instance::multi_instance ``` * Exclude Vulkan and DRM surface paths on NetBSD Match platform support and avoiding cfg mismatches between wgpu and wgpu-core. (with help from LLM) --------- Co-authored-by: Erich Gubler <erichdongubler@gmail.com>
28 lines
1.0 KiB
TOML
28 lines
1.0 KiB
TOML
[package]
|
|
name = "wgpu-core-deps-windows-linux-android"
|
|
version.workspace = true
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
description = "Feature unification helper crate for the Windows/Linux/Android platforms"
|
|
homepage.workspace = true
|
|
repository.workspace = true
|
|
keywords.workspace = true
|
|
license.workspace = true
|
|
readme = "README.md"
|
|
|
|
# Override the workspace's `rust-version` key. Firefox uses `cargo vendor` to
|
|
# copy the crates it actually uses out of the workspace, so it's meaningful for
|
|
# them to have less restrictive MSRVs individually than the workspace as a
|
|
# whole, if their code permits. See `../README.md` for details.
|
|
rust-version = "1.76"
|
|
|
|
[features]
|
|
gles = ["wgpu-hal/gles"]
|
|
vulkan = ["wgpu-hal/vulkan"]
|
|
dx12 = ["wgpu-hal/dx12"]
|
|
renderdoc = ["wgpu-hal/renderdoc"]
|
|
|
|
# Depend on wgpu-hal conditionally, so that the above features only apply to wgpu-hal on this set of platforms.
|
|
[target.'cfg(any(windows, target_os = "linux", target_os = "android", target_os = "freebsd", target_os = "netbsd"))'.dependencies]
|
|
wgpu-hal.workspace = true
|