build: prefer static linking of shaderc

This commit is contained in:
chyyran 2023-11-30 01:58:47 -05:00 committed by Ronny Chan
parent d17503be71
commit 2bd6f8f80f

View file

@ -12,7 +12,7 @@ keywords = ["shader", "retroarch", "SPIR-V"]
description = "RetroArch shaders for all."
[dependencies]
shaderc = { version = "0.8.2", features = [] }
shaderc = { version = "0.8.3", features = [] }
bytemuck = "1.13.0"
thiserror = "1.0.37"
@ -37,7 +37,7 @@ optional = true
[features]
default = ["cross", "serialize"]
unstable-naga = [ "naga", "rspirv" ]
standalone = ["shaderc/build-from-source"]
standalone = ["shaderc/build-from-source", "shaderc/prefer-static-linking"]
dxil = ["cross", "spirv-to-dxil"]
cross = [ "spirv_cross", "spirv_cross/glsl", "spirv_cross/hlsl" ]
serialize = [ "serde" ]