diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:13:33 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:13:33 +0000 |
commit | 086c044dc34dfc0f74fbe41f4ecb402b2cd34884 (patch) | |
tree | a4f824bd33cb075dd5aa3eb5a0a94af221bbe83a /third_party/rust/wgpu-hal/Cargo.toml | |
parent | Adding debian version 124.0.1-1. (diff) | |
download | firefox-086c044dc34dfc0f74fbe41f4ecb402b2cd34884.tar.xz firefox-086c044dc34dfc0f74fbe41f4ecb402b2cd34884.zip |
Merging upstream version 125.0.1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'third_party/rust/wgpu-hal/Cargo.toml')
-rw-r--r-- | third_party/rust/wgpu-hal/Cargo.toml | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/third_party/rust/wgpu-hal/Cargo.toml b/third_party/rust/wgpu-hal/Cargo.toml index 88f96fb59b..47195f996d 100644 --- a/third_party/rust/wgpu-hal/Cargo.toml +++ b/third_party/rust/wgpu-hal/Cargo.toml @@ -95,6 +95,7 @@ cfg_aliases = "0.1" [features] default = ["link"] +device_lost_panic = [] dx12 = [ "naga/hlsl-out", "d3d12", @@ -116,12 +117,15 @@ gles = [ "glutin_wgl_sys", "khronos-egl", "libloading", + "ndk-sys", ] +internal_error_panic = [] link = ["metal/link"] metal = [ "naga/msl-out", "block", ] +oom_panic = [] renderdoc = [ "libloading", "renderdoc-sys", @@ -133,6 +137,7 @@ vulkan = [ "gpu-descriptor", "libloading", "smallvec", + "android_system_properties", ] windows_rs = ["gpu-allocator"] @@ -191,8 +196,13 @@ optional = true [target."cfg(not(target_arch = \"wasm32\"))".dev-dependencies] glutin = "0.29.1" -[target."cfg(target_os = \"android\")".dependencies] -android_system_properties = "0.1.1" +[target."cfg(target_os = \"android\")".dependencies.android_system_properties] +version = "0.1.1" +optional = true + +[target."cfg(target_os = \"android\")".dependencies.ndk-sys] +version = "0.5.0" +optional = true [target."cfg(target_os = \"emscripten\")".dependencies.khronos-egl] version = "6" |