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

build: add native-tls integration #87

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

davehorner
Copy link

@davehorner davehorner commented Feb 20, 2025

I'm having trouble on windows with ring. this works if you specify

cargo run --example tail --features=
native-tls --no-default-features -- http://127.0.0.1:3030/test

briansmith/ring#2416

@davehorner davehorner requested a review from a team as a code owner February 20, 2025 14:50
@davehorner davehorner changed the title allow for native-tls on windows; ring macro expansion issues build: allow for native-tls on windows; ring macro expansion issues Feb 20, 2025
@davehorner davehorner changed the title build: allow for native-tls on windows; ring macro expansion issues build: add native-tls integration Feb 20, 2025

[[example]]
name = "tail"
required-features = ["rustls"]
required-features = ["native-tls"]
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

theres no way to default windows to this; you might what this line removed. lmk

@davehorner davehorner force-pushed the native-tls branch 2 times, most recently from d1bcc86 to 9b6c18f Compare February 20, 2025 15:21
[[example]]
name = "tail"
required-features = ["rustls"]
native-tls = ["hyper-tls"]
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

removal of the required feature another way to go.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

when I try to run the contract-tests;
warning: [email protected]+zstd.1.5.6: cl : Command line warning D9002 : ignoring unknown option '-fvisibility=hidden'
warning: [email protected]+zstd.1.5.6: cl : Command line warning D9002 : ignoring unknown option '-fvisibility=hidden'
error: failed to run custom build command for zstd-sys v2.0.13+zstd.1.5.6

zstd is passing bad parameters to windows cl. windows is awesome.

@louis-launchdarkly
Copy link

Thank you for your contribution. I have filed this internally as SDK-1111 and will try to get SDK engineer to discuss and review this.

@davehorner
Copy link
Author

davehorner commented Mar 7, 2025

Cool, what I have isn't the complete solution. I was having some issue with running samples or something. I remember that subsequent builds were a problem...default features and what not. the work of this is trying to understand the best way to configure the features so that we don't cause issues for others and enable this feature selection for people who need/prefer it.

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