Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit f0aeca3

Browse files
wgsl: enable naga feature by default, cargo-gpu can't handle it
1 parent 5e03eb0 commit f0aeca3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎crates/rustc_codegen_spirv/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ crate-type = ["dylib"]
2020
default = ["use-compiled-tools"]
2121
# If enabled, uses spirv-tools binaries installed in PATH, instead of
2222
# compiling and linking the spirv-tools C++ code
23-
use-installed-tools = ["spirv-tools/use-installed-tools"]
23+
use-installed-tools = ["spirv-tools/use-installed-tools", "naga"]
2424
# If enabled will compile and link the C++ code for the spirv tools, the compiled
2525
# version is preferred if both this and `use-installed-tools` are enabled
26-
use-compiled-tools = ["spirv-tools/use-compiled-tools"]
26+
use-compiled-tools = ["spirv-tools/use-compiled-tools", "naga"]
2727
# If enabled, this will not check whether the current rustc version is set to the
2828
# appropriate channel. rustc_cogeden_spirv requires a specific nightly version,
2929
# and will likely produce compile errors when built against a different toolchain.

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /