Skip to content

Conversation

@fee1-dead
Copy link

Per https://doc.rust-lang.org/cargo/reference/profiles.html#build-dependencies, build dependencies are always built with no optimizations, this leads to cc picking up an OPT_LEVEL=0 if one just depends on spirv_builder. We almost always want to build spirv-tools in release mode, so explicitly set it in the build script.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant