-
Notifications
You must be signed in to change notification settings - Fork 2.1k
update Makefile to use cargo sparse protocol in all cargo commands #23856
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
Merged
Merged
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
d9c9682
update Makefile to use cargo sparse protocol in all cargo commands
6652c26
Adds a cargo version print to build-macos for debugging
4919064
uses the same setup steps for the rust and go toolchains as are being…
5c378e2
Uses the prepare-toolchain-mac composite action in the build-macos.ya…
e32d99f
Merge branch 'master' into isaiah/cargo-sparse-protocol
a00af35
checkout e so that the prepare-toolchain-mac composite action is avai…
4d49c12
Fetch the correct e ref for the composite action
7ffe56b
Attempts to checkout with submodules
f634aba
fetch-depth: 0
0473390
seems that I can't get to teleport.e from the oss actions
7d9b87f
updates bypass
c7167b3
testing ci
10d28ef
testing ci
068c12d
testing for ci
9e4a205
fixing indentation
4163bf7
trying to get CI to actually run
4d05fbc
fixing indentation
71a43b1
fixing lib/srv/desktop/rdp/rdpclient/client.go
a526899
Merge branch 'master' into isaiah/cargo-sparse-protocol
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Using a single rust version across the environment is a good goal, but for this PR alone, would it work to simply add
export CARGO_UNSTABLE_SPARSE_REGISTRY=trueto enable the spare-registry feature flag for older rust versions?The error linked by @r0mant complains:
CARGO_UNSTABLE_SPARSE_REGISTRYis an alternative to that switch, and from my quick testing, it doesn't break new cargo.Uh oh!
There was an error while loading. Please reload this page.
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.
@Tener the issue with using
CARGO_UNSTABLE_SPARSE_REGISTRYis that it's only registered by a nightly build ofcargo. So it has no effect using stable cargo of < 1.68, which is the default for the image we're using (it currently uses something like 1.67.2 stable).