+rustup-init (#832)

* +rustup-init

* rustup-init: add curl and openssl for linux

* rustup-init: moved to rust-lang.org/rustup-init

---------

Co-authored-by: Adheesh Wadkar <wadheesh@amazon.com>
This commit is contained in:
Adheesh Wadkar 2023-03-21 14:45:21 -05:00 committed by GitHub
parent ed8b734fd8
commit 1bcc221dc7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,24 @@
distributable:
url: https://github.com/rust-lang/rustup/archive/{{version}}.tar.gz
strip-components: 1
versions:
github: rust-lang/rustup/tags
dependencies:
curl.se: '*'
openssl.org: ^1
build:
dependencies:
rust-lang.org/cargo: '*'
freedesktop.org/pkg-config: ^0.29
script:
cargo install --features no-self-update --locked --path . --root {{prefix}}
provides:
- bin/rustup-init
test:
script:
rustup-init --version