Skip to content

Conversation

@elad-solomon
Copy link

Issues:

Resolves #929

Description of changes:

Currently in FIPS_SHARED mode the FIPS binaries are built with different compilation flags that do not inherit the static runtime from the crt-static target feature flag.
This change propagates this settings explicitly into the compilation flags of FIPS using a new CMAKE option that is turned on when crt-static target feature is on.

Testing:

Tested by building using MSVC v14.43.3480 in debug, release and release-lto.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and the ISC license.

@elad-solomon elad-solomon requested a review from a team as a code owner October 27, 2025 10:18
@codecov-commenter
Copy link

codecov-commenter commented Oct 27, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.36%. Comparing base (c358484) to head (dc00955).
⚠️ Report is 275 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #930      +/-   ##
==========================================
- Coverage   95.80%   92.36%   -3.44%     
==========================================
  Files          61       73      +12     
  Lines        8143     9659    +1516     
  Branches        0     9659    +9659     
==========================================
+ Hits         7801     8922    +1121     
- Misses        342      450     +108     
- Partials        0      287     +287     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@justsmth justsmth force-pushed the aws-lc-sys-fips-static-runtime branch 4 times, most recently from 2bdaa45 to aa95634 Compare October 27, 2025 14:35
@justsmth justsmth force-pushed the aws-lc-sys-fips-static-runtime branch 3 times, most recently from e54115b to 47dcd3d Compare October 27, 2025 15:27
@justsmth justsmth force-pushed the aws-lc-sys-fips-static-runtime branch from 47dcd3d to dc00955 Compare October 27, 2025 16:47
@elad-solomon
Copy link
Author

@justsmth thanks for updating the PR! 🙏

Looks like the tests are all passing. when do you expect we move forward with this PR?

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.

Windows: FIPS binaries build ignores crt-static target feature flag

3 participants