Skip to content

How do I set features using spirv-builder? #144

Closed Answered by LegNeato
LegNeato asked this question in Q&A
Discussion options

You must be logged in to vote

Ok, looks like there isn't a built-in way but it respects RUSTGPU_RUSTFLAGS

std::env::set_var("RUSTGPU_RUSTFLAGS", "--cfg feature=\"whatever\"");

Replies: 1 comment

Comment options

LegNeato
Nov 14, 2024
Maintainer Author

You must be logged in to vote
0 replies
Answer selected by LegNeato
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant