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

Windows install fails with defaults #920

Open
Fritzoid opened this issue Nov 24, 2024 · 1 comment
Open

Windows install fails with defaults #920

Fritzoid opened this issue Nov 24, 2024 · 1 comment

Comments

@Fritzoid
Copy link

Hi,

cargo install --locked trunk (the standard way to install trunk) fails on windows when it has to build openssl. When reaading https://trunkrs.dev/guide/getting-started/installation.html#installing-a-release-from-cratesio it still says rustls is the default.

I found a thread out there that said you recently switched to openssl and the easy way to fix the problem was to force use of rustls like this: cargo install --locked --no-default-features --features update_check,rustls trunk, which I did and its now fine. But its a bit foolish/dangerous to have to do that.

This is just a headsup that the current state of trunk on windows is shady and you should either fix the docs on how to work with openssl on windows (which I couldnt really figure out) or revert to rustls.

Or maybe theres something ive completely missed :)

Keep up the good work
cheers

@airblast-dev
Copy link
Contributor

Might want to check out #911 (reply in thread). Afaik it should be fixable relatively easily but I don't use Windows nor do I have any way to set an installation up (not enough storage).

You can use the pre-built binary which is an option since Trunk is not a library. Even better you can use cargo binstall which is more practical in my opinion.

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

No branches or pull requests

2 participants