-
-
Notifications
You must be signed in to change notification settings - Fork 174
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Install latest rustc/cargo where needed
The cryptography Python package requires rustc >= 1.65.0 to build now, and Debian only comes with 1.63.0 by default. We therefore utilize the rustup installation script, similar to the get-pip.py script, to get the latest version for the architectures where this build step is needed. In the Alpine case we never need to build the package, so remove the rust dependency there. In the case of i386 the rustup script is unable to correctly identify which system it is to build for, so we need to provide this info manually.
- Loading branch information
1 parent
868123b
commit 607eee8
Showing
2 changed files
with
19 additions
and
6 deletions.
There are no files selected for viewing
This file contains 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 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