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.0.2 #993

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 micahsnyder changed the title CMake-Rust [Windows]: Fix issue detecting native static libs CMake-Rust [Windows]: Fix issue detecting native static libs 1.0.2 Aug 9, 2023
@micahsnyder
Copy link
Contributor Author

Build here also looking good in Jenkins.

@micahsnyder micahsnyder merged commit 50f8e64 into Cisco-Talos:dev/1.0.2 Aug 9, 2023
5 of 23 checks passed
@micahsnyder micahsnyder deleted the CLAM-2411-windows-rustc-native-static-libs-issue-1.0.2 branch August 9, 2023 21:38
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