Skip to content

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

Merged
val-ms merged 1 commit intoCisco-Talos:mainfrom
val-ms:CLAM-2121-cmake-rust-default-relwithdebinfo
Sep 21, 2022
Merged

CMake+Rust: default build must be release with debug info#701
val-ms merged 1 commit intoCisco-Talos:mainfrom
val-ms:CLAM-2121-cmake-rust-default-relwithdebinfo

Conversation

@val-ms
Copy link
Contributor

@val-ms val-ms commented Sep 20, 2022

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.
@val-ms val-ms requested a review from shutton September 20, 2022 21:55
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

@val-ms val-ms merged commit bafb26b into Cisco-Talos:main Sep 21, 2022
@val-ms val-ms 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