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

Don't 'dllexport' Windows symbols on static build #2238

Merged
merged 2 commits into from
Mar 5, 2025

Conversation

justsmth
Copy link
Contributor

@justsmth justsmth commented Mar 4, 2025

Issues:

Addresses aws/aws-lc-rs#715

Description of changes:

On Windows, avoid marking exported symbols with __declspec(dllexport) when performing a static build.

Call-outs:

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.

@justsmth justsmth requested a review from a team as a code owner March 4, 2025 17:44
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 79.04%. Comparing base (1d8b807) to head (936e123).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2238      +/-   ##
==========================================
- Coverage   79.06%   79.04%   -0.03%     
==========================================
  Files         612      612              
  Lines      106513   106513              
  Branches    15052    15052              
==========================================
- Hits        84216    84192      -24     
- Misses      21645    21668      +23     
- Partials      652      653       +1     

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

@justsmth justsmth requested review from skmcgrail and andrewhop March 5, 2025 16:22
andrewhop added a commit to andrewhop/aws-lc that referenced this pull request Mar 5, 2025
@justsmth justsmth merged commit 2290943 into aws:main Mar 5, 2025
110 of 114 checks passed
@justsmth justsmth deleted the windows-export-static-build branch March 5, 2025 21:31
andrewhop added a commit to andrewhop/aws-lc that referenced this pull request Mar 5, 2025
justsmth pushed a commit that referenced this pull request Mar 6, 2025
### Description of changes: 

https://github.com/aws/aws-lc/releases/edit/untagged-aef9ee5aee62c3242f30

## What's Changed
* Remove BORINGSSL_FIPS_BREAK_FFC_DH by @andrewhop in
#2216
* Increase required CMake version to 3.5 by @andrewhop in
#2219
* Coverity Fix by @smittals2 in #2236
* Check pagesize is non-negative in AES-XTS test by @nebeid in
#2237
* Don't 'dllexport' Windows symbols on static build by @justsmth in
#2238
* Update to using Clang 18 on Windows by @justsmth in
#2240
* Enforce FIPS callback is only enabled for static builds by @andrewhop
in #2241


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.
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.

4 participants