1
Fork 0
rust/src
bors 1661f77e7b Auto merge of #77336 - pietroalbini:pkgname, r=Mark-Simulacrum
Always use the Rust version in package names

The format of the tarballs produced by CI is roughly the following:

    {component}-{release}-{target}.{ext}

While on the beta and nightly channels `{release}` is just the channel name, on the stable channel is either the Rust version or the version of the component we're shipping:

    cargo-0.47.0-x86_64-unknown-linux-gnu.tar.xz
    clippy-0.0.212-x86_64-unknown-linux-gnu.tar.xz
    llvm-tools-1.46.0-x86_64-unknown-linux-gnu.tar.xz
    miri-0.1.0-x86_64-unknown-linux-gnu.tar.xz
    rls-1.41.0-x86_64-unknown-linux-gnu.tar.xz
    rust-1.46.0-x86_64-unknown-linux-gnu.tar.xz
    ...

This makes it really hard to get the package URL without having access to the manifest (and there is no manifest on ci-artifacts.rlo), as there is no consistent version number to use.

This PR addresses the problem by always using the Rust version number as `{release}` for the stable channel, regardless of the version number of the component we're shipping. I chose that instead of "stable" to avoid breaking the URL scheme *that* much.

Rustup should not be affected by this change, as it fetches the URLs from the manifest. Unfortunately we don't have a way to test other clients before making a stable release, as this change only affects the stable channel.

r? `@Mark-Simulacrum`
2020-10-10 06:59:49 +00:00
..
bootstrap bootstrap: always use the Rust version in package names 2020-10-09 15:21:45 +02:00
build_helper cleanup: Remove duplicate library names from Cargo.tomls 2020-08-30 22:57:54 +03:00
ci Check all Cargo targets on CI 2020-10-03 09:53:13 -04:00
doc Auto merge of #77119 - GuillaumeGomez:unclosed-html-tag-lint, r=jyn514 2020-10-07 09:56:51 +00:00
etc Auto merge of #77609 - ortem:fix-lldb-commands, r=Mark-Simulacrum 2020-10-09 15:18:41 +00:00
librustdoc Don't filter out imports added by the compiler for the moment 2020-10-09 20:26:06 +02:00
llvm-project@3adf16e0cb Update submodule llvm to get LVI bugfix 2020-10-08 17:43:26 +02:00
test Remove unneeded ImportItem on glob ones 2020-10-09 20:26:06 +02:00
tools Auto merge of #77336 - pietroalbini:pkgname, r=Mark-Simulacrum 2020-10-10 06:59:49 +00:00
README.md Update README.md 2020-08-30 13:40:11 -05:00
stage0.txt Bump to 1.48 bootstrap compiler 2020-10-07 19:51:36 -04:00
version Bump version to 1.49.0 2020-10-02 08:39:40 -04:00

This directory contains the source code of the rust project, including:

  • The test suite
  • The bootstrapping build system
  • Various submodules for tools, like rustdoc, rls, etc.

For more information on how various parts of the compiler work, see the rustc dev guide.