| commit | 9c7ad902ff6ee795143b0ae2358a26e4b4159610 | [log] [tgz] |
|---|---|---|
| author | 许杰友 Jieyou Xu (Joe) <39484203+jieyouxu@users.noreply.github.com> | Sun Aug 24 10:03:18 2025 +0800 |
| committer | GitHub <noreply@github.com> | Sun Aug 24 10:03:18 2025 +0800 |
| tree | 2c9d9129eb5e0cac5f3c6ea9213eb0fb8bbc8dcc | |
| parent | 31b4e313213dfaf62b2dd13a4da8176990929526 [diff] | |
| parent | c5cb7db42ce56017e5c1a5b1ef28a638bf53f5cf [diff] |
Merge pull request #127 from rust-lang/deprecate Add archival/deprecation notice
This repository now lives inline to rust-lang/rust (https://github.com/rust-lang/rust/tree/master/src/tools/rust-installer) and has been archived here. All future changes should be filed against rust-lang/rust, existing issues/PRs will not be monitored.
A generator for the install.sh script commonly used to install Rust in Unix environments. It is used By Rust, Cargo, and is intended to be used by a future combined installer of Rust + Cargo.
./gen-installer.sh --product-name=Rust \
--rel-manifest-dir=rustlib \
--success-message=Rust-is-ready-to-roll. \
--image-dir=./install-image \
--work-dir=./temp \
--output-dir=./dist \
--non-installed-overlay=./overlay \
--package-name=rustc-nightly-i686-apple-darwin \
--component-name=rustc \
--legacy-manifest-dirs=rustlib \
--bulk-dirs=share/doc
Or, to just generate the script.
./gen-install-script.sh --product-name=Rust \
--rel-manifest-dir=rustlib \
--success-message=Rust-is-ready-to-roll. \
--output-script=install.sh \
--legacy-manifest-dirs=rustlib
Note: the dashes in success-message are converted to spaces. The script's argument handling is broken with spaces.
To combine installers.
./combine-installers.sh --product-name=Rust \
--rel-manifest-dir=rustlib \
--success-message=Rust-is-ready-to-roll. \
--work-dir=./temp \
--output-dir=./dist \
--non-installed-overlay=./overlay \
--package-name=rustc-nightly-i686-apple-darwin \
--legacy-manifest-dirs=rustlib \
--input-tarballs=./rustc.tar.gz,cargo.tar.gz
This software is distributed under the terms of both the MIT license and/or the Apache License (Version 2.0), at your option.
See LICENSE-APACHE, LICENSE-MIT for details.