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

fix(server): 🐛 add bundled flag to rusqlite dependency on musl-libc #231

Merged

Conversation

hellerbarde
Copy link
Contributor

fix(server): 🐛 add bundled flag to rusqlite dependency on musl-libc target

…arget

- fix tonarino#228
- the musl libc is used on Alpine, a minimal linux distribution commonly
  used in docker images. It's also used on OpenWRT which might be of
  interest to innernet.
Copy link
Member

@strohel strohel left a comment

Choose a reason for hiding this comment

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

Looks good to me, with one little suggestion. Do you have opinion on this @mcginty @bschwind?

Comment on lines +50 to +51
[target.'cfg(target_env = "musl")'.dependencies]
rusqlite = { version = "0.28", features = ["bundled"] }
Copy link
Member

Choose a reason for hiding this comment

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

Can you please add a brief comment here with explanation? Perhaps mentioning the issue number.

@bschwind
Copy link
Member

bschwind commented Aug 8, 2022

Seems reasonable to me, especially since it only affects the musl target.

@mcginty
Copy link
Collaborator

mcginty commented Aug 10, 2022

I'll merge this, and then add a little comment linking to the rusqlite issue.

Thanks!

EDIT: It's been a minute, mis-remembered about sqlite not being a dep on the client :)

@mcginty mcginty merged commit 0fb0ac7 into tonarino:main Aug 10, 2022
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.

Segfault at the end of the innernet-server new wizard on Alpine Linux
4 participants