-
Notifications
You must be signed in to change notification settings - Fork 16
CVPN-1893 Support building on tvOS #178
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
Conversation
6208c92 to
19822cb
Compare
|
Code coverage summary for 96ba542: ✅ Region coverage 54% passes |
1accf3a to
982bdc5
Compare
Note: Gitlab can only make reference to commits on the main branch only, so we are using the commit hash for the merge request on main https://gitlab.torproject.org/tpo/core/arti/-/commit/0f13b7a0e19b3fae163e76c8ade6499244abf834
Use Detegr/rust-ctrlc#128 to support building or compiling on tvOS.
26630b2 to
96ba542
Compare
| clap = { version = "4.4.7", features = ["derive"] } | ||
| ctrlc = { version = "3.4.2", features = ["termination"] } | ||
| # ctrlc = { version = "3.4.2", features = ["termination"] } | ||
| ctrlc = { git = "https://github.com/Detegr/rust-ctrlc.git", rev = "refs/pull/128/head"} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are we pinning at a specific merged branch but not master?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am pinning on a specific pull request Detegr/rust-ctrlc#128 's head commit, not the merged branch. Since this PR has already been merged, there's no way for someone else to modify the head commit of this PR, whereas pinning it at the master might be a security issue as someone could push a new commits to the master and do something weird/funky on it
FYI: https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#choice-of-commit
Description
This PR fixes building/compilation issue when we are building it in tvOS.
We are manually setting these crates to use a specific commits/PRs as we are waiting for a new official release from them:
Gitlab can only make reference to commits on the main branch only, so we are using the commit hash for the merge request on main
https://gitlab.torproject.org/tpo/core/arti/-/commit/0f13b7a0e19b3fae163e76c8ade6499244abf834
Add support for tvOS, visionOS and watchOS Detegr/rust-ctrlc#128 to support building or compiling on tvOS.
Bumped
wolfsslandtunto a new version that supports building on tvOS as well.Motivation and Context
Support tvOS
How Has This Been Tested?
By building the internal client on all 3 tvOS platforms
Types of changes
Checklist:
main