Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CMake+Rust: default build must be release with debug info #701

Conversation

micahsnyder
Copy link
Contributor

We already set the default build type to RelWithDebInfo for CMake, but we were setting it after adding the Rust module. We need to do it before, or else the Rust stuff will still default to Debug, which makes for really slow scans of images that get fuzzy hashed.

We already set the default build type to RelWithDebInfo for CMake, but
we were setting it *after* adding the Rust module.  We need to do it
before, or else the Rust stuff will still default to Debug, which makes
for really slow scans of images that get fuzzy hashed.
Copy link
Contributor

@shutton shutton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@micahsnyder micahsnyder merged commit bafb26b into Cisco-Talos:main Sep 21, 2022
@micahsnyder micahsnyder deleted the CLAM-2121-cmake-rust-default-relwithdebinfo branch September 21, 2022 00:55
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.

2 participants