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 [Windows]: Fix issue detecting native static libs 1.1.1 #994

Conversation

micahsnyder
Copy link
Contributor

Cherry-pick of #992


Some change in Cargo/Rust version 1.70 or 1.71 appears to have broken the build on Windows because we are incorrectly attempting to check the native static libraries by compiling an empty file (/dev/null) which does not exist on Windows.

A simple fix is to make an empty file of our own and use that instead.

Fixes: #990

Some change in Cargo/Rust version 1.70 or 1.71 appears to have broken
the build on Windows because we are incorrectly attempting to check the
native static libraries by compiling an empty file (/dev/null) which
does not exist on Windows.

A simple fix is to make an empty file of our own and use that instead.

Fixes: Cisco-Talos#990
@micahsnyder
Copy link
Contributor Author

Test pipeline is in progress but got past the important parts. So backport here looks good.

@micahsnyder micahsnyder merged commit 88b1c25 into Cisco-Talos:dev/1.1.1 Aug 9, 2023
22 of 23 checks passed
@micahsnyder micahsnyder deleted the CLAM-2411-windows-rustc-native-static-libs-issue-1.1.1 branch August 9, 2023 20:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant