Unpacking Software Livestream

Join our monthly Unpacking Software livestream to hear about the latest news, chat and opinion on packaging, software deployment and lifecycle management!

Learn More

Chocolatey Product Spotlight

Join the Chocolatey Team on our regular monthly stream where we put a spotlight on the most recent Chocolatey product releases. You'll have a chance to have your questions answered in a live Ask Me Anything format.

Learn More

Chocolatey Coding Livestream

Join us for the Chocolatey Coding Livestream, where members of our team dive into the heart of open source development by coding live on various Chocolatey projects. Tune in to witness real-time coding, ask questions, and gain insights into the world of package management. Don't miss this opportunity to engage with our team and contribute to the future of Chocolatey!

Learn More

Calling All Chocolatiers! Whipping Up Windows Automation with Chocolatey Central Management

Webinar from
Wednesday, 17 January 2024

We are delighted to announce the release of Chocolatey Central Management v0.12.0, featuring seamless Deployment Plan creation, time-saving duplications, insightful Group Details, an upgraded Dashboard, bug fixes, user interface polishing, and refined documentation. As an added bonus we'll have members of our Solutions Engineering team on-hand to dive into some interesting ways you can leverage the new features available!

Watch On-Demand
Chocolatey Community Coffee Break

Join the Chocolatey Team as we discuss all things Community, what we do, how you can get involved and answer your Chocolatey questions.

Watch The Replays
Chocolatey and Intune Overview

Webinar Replay from
Wednesday, 30 March 2022

At Chocolatey Software we strive for simple, and teaching others. Let us teach you just how simple it could be to keep your 3rd party applications updated across your devices, all with Intune!

Watch On-Demand
Chocolatey For Business. In Azure. In One Click.

Livestream from
Thursday, 9 June 2022

Join James and Josh to show you how you can get the Chocolatey For Business recommended infrastructure and workflow, created, in Azure, in around 20 minutes.

Watch On-Demand
The Future of Chocolatey CLI

Livestream from
Thursday, 04 August 2022

Join Paul and Gary to hear more about the plans for the Chocolatey CLI in the not so distant future. We'll talk about some cool new features, long term asks from Customers and Community and how you can get involved!

Watch On-Demand
Hacktoberfest Tuesdays 2022

Livestreams from
October 2022

For Hacktoberfest, Chocolatey ran a livestream every Tuesday! Re-watch Cory, James, Gary, and Rain as they share knowledge on how to contribute to open-source projects such as Chocolatey CLI.

Watch On-Demand

Downloads:

179,931

Downloads of v 1.35.0.20190523:

233

Last Update:

03 Jun 2019

Package Maintainer(s):

Software Author(s):

  • Mozilla

Tags:

rust cli portable programming language sdk

Rust (GNU ABI)

This is not the latest version of Rust (GNU ABI) available.

  • 1
  • 2
  • 3

1.35.0.20190523 | Updated: 03 Jun 2019

Downloads:

179,931

Downloads of v 1.35.0.20190523:

233

Software Author(s):

  • Mozilla

Rust (GNU ABI) 1.35.0.20190523

This is not the latest version of Rust (GNU ABI) available.

Legal Disclaimer: Neither this package nor Chocolatey Software, Inc. are affiliated with or endorsed by Mozilla. The inclusion of Mozilla trademark(s), if any, upon this webpage is solely to identify Mozilla goods or services and not for commercial purposes.

  • 1
  • 2
  • 3

This Package Contains an Exempted Check

Not All Tests Have Passed


Validation Testing Passed


Verification Testing Passed

Details

Scan Testing Exemption for this package version only:

Details
Learn More

Deployment Method: Individual Install, Upgrade, & Uninstall

To install Rust (GNU ABI), run the following command from the command line or from PowerShell:

>

To upgrade Rust (GNU ABI), run the following command from the command line or from PowerShell:

>

To uninstall Rust (GNU ABI), run the following command from the command line or from PowerShell:

>

Deployment Method:

NOTE

This applies to both open source and commercial editions of Chocolatey.

1. Enter Your Internal Repository Url

(this should look similar to https://community.chocolatey.org/api/v2/)


2. Setup Your Environment

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

2. Get the package into your environment

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://community.chocolatey.org/api/v2/. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Copy Your Script

choco upgrade rust -y --source="'INTERNAL REPO URL'" --version="'1.35.0.20190523'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:


choco upgrade rust -y --source="'INTERNAL REPO URL'" --version="'1.35.0.20190523'" 
$exitCode = $LASTEXITCODE

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0
}

Exit $exitCode

- name: Install rust
  win_chocolatey:
    name: rust
    version: '1.35.0.20190523'
    source: INTERNAL REPO URL
    state: present

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.


chocolatey_package 'rust' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '1.35.0.20190523'
end

See docs at https://docs.chef.io/resource_chocolatey_package.html.


cChocoPackageInstaller rust
{
    Name     = "rust"
    Version  = "1.35.0.20190523"
    Source   = "INTERNAL REPO URL"
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'rust':
  ensure   => '1.35.0.20190523',
  provider => 'chocolatey',
  source   => 'INTERNAL REPO URL',
}

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


4. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

Package Approved

This package was approved as a trusted package on 04 Jun 2019.

Description

Rust is a curly-brace, block-structured expression language. It visually resembles the C language family, but differs significantly in syntactic and semantic details. Its design is oriented toward concerns of “programming in the large”, that is, of creating and maintaining boundaries – both abstract and operational – that preserve large-system integrity, availability and concurrency.


tools\chocolateyInstall.ps1
# Do not remove this test for UTF-8: if “Ω” doesn’t appear as greek uppercase omega letter enclosed in quotation marks, you should use an editor that supports UTF-8, not this one.

$ErrorActionPreference = 'Stop';

# Uninstall old versions of Rust.
if (Test-ProcessAdminRights) {
  Get-WmiObject -Class Win32_Product | Where-Object {
    ($_.Vendor -eq "The Rust Project Developers") -And ($_.Name -match "Rust")
  } | foreach {
    $_.Uninstall()
  }
}

$version     = "1.35.0"
$packageName = $env:chocolateyPackageName
$toolsDir    = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"

$url         = "https://static.rust-lang.org/dist/2019-05-23/rust-1.35.0-i686-pc-windows-gnu.tar.gz"
$url64       = "https://static.rust-lang.org/dist/2019-05-23/rust-1.35.0-x86_64-pc-windows-gnu.tar.gz"

$packageArgs = @{
    packageName    = $packageName
    unzipLocation  = $toolsDir
    url            = $url
    checksum       = "f5a56d76851cbcaea9808b564d5858726f69b09793cceb4df23733e0bafe248a"
    checksumType   = "sha256"
    url64bit       = $url64
    checksum64     = "d136642c3a6f211a9d6c3aa50ca01aa1b533b417b531fabc1256fd5c9d697a89"
    checksumType64 = "sha256"
}

$packageSrcArgs = @{
    packageName    = $packageName
    unzipLocation  = $toolsDir
    url            = "https://static.rust-lang.org/dist/2019-05-23/rust-src-1.35.0.tar.gz"
    checksum       = "7547d1e9a7ed236860e0a1ed7b9e428941fad7ff9bd3888e19db7e7a5fd53e38"
    checksumType   = "sha256"
}

# Note to the reader: Install-ChocolateyZipFile only extracts one layer,
# so it turns the tar.gz files that Rust distributes into bar tar files.
# Useless.
Install-ChocolateyZipPackage @packageArgs
Get-ChocolateyUnzip -FileFullPath $toolsDir/rust-$version-i686-pc-windows-gnu.tar -FileFullPath64 $toolsDir/rust-$version-x86_64-pc-windows-gnu.tar -Destination $toolsDir
Install-ChocolateyZipPackage @packageSrcArgs
Get-ChocolateyUnzip -FileFullPath $toolsDir/rust-src-$version.tar -Destination $toolsDir
# This is basically what install.sh does, though with less customizability,
# because we delegate to Chocolatey for things like uninstalling and deciding where $toolsDir is.
function Install-RustPackage([string]$Directory) {
  cd $Directory
  cat components | foreach {
    $c = $_
    cat $Directory/$c/manifest.in | foreach {
      if ($_.StartsWith("file:")) {
        $f = $_.SubString(5)
        $d = (split-path -parent $f)
        if (!(test-path $toolsDir/$d)) { mkdir $toolsDir/$d }
        mv $Directory/$c/$f $toolsDir/$f
      }
      # The assumption is that a manifest with a `dir:` directive is the sole provider of that directory,
      # unlike other rust components, where we're expected to merge the directories together.
      # Only component I've found with a `dir:` directive, currently, is rust-docs.
      if ($_.StartsWith("dir:")) {
        $f = $_.SubString(4)
        $d = (split-path -parent $f)
        if (!(test-path $toolsDir/$d)) { mkdir $toolsDir/$d }
        mv $Directory/$c/$f $toolsDir/$f
      }
    }
  }
  cd $toolsDir
}
rm -recurse -force $toolsDir/rust-$version-*.tar
rm -recurse -force $toolsDir/rust-src-$version.tar
dir $toolsDir/rust-$version-* | foreach { Install-RustPackage (join-path $_ '') }
Install-RustPackage $toolsDir/rust-src-$version
rm -recurse -force $toolsDir/rust-$version-*
rm -recurse -force $toolsDir/rust-src-$version

Log in or click on link to see number of positives.

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Add to Builder Version Downloads Last Updated Status
Rust (GNU ABI) 1.82.0 4141 Sunday, October 20, 2024 Approved
Rust (GNU ABI) 1.81.0 4075 Sunday, September 8, 2024 Approved
Rust (GNU ABI) 1.80.1 2585 Sunday, August 11, 2024 Approved
Rust (GNU ABI) 1.80.0 1587 Sunday, July 28, 2024 Approved
Rust (GNU ABI) 1.79.0 3610 Sunday, June 16, 2024 Approved
Rust (GNU ABI) 1.78.0 4790 Sunday, May 5, 2024 Approved
Rust (GNU ABI) 1.77.2 2194 Sunday, April 14, 2024 Approved
Rust (GNU ABI) 1.77.1 1729 Sunday, March 31, 2024 Approved
Rust (GNU ABI) 1.77.0 1045 Sunday, March 24, 2024 Approved
Rust (GNU ABI) 1.76.0 4207 Sunday, February 11, 2024 Approved
Rust (GNU ABI) 1.75.0 3538 Sunday, December 31, 2023 Approved
Rust (GNU ABI) 1.74.1 1882 Sunday, December 10, 2023 Approved
Rust (GNU ABI) 1.74.0 2003 Sunday, November 19, 2023 Approved
Rust (GNU ABI) 1.73.0 3328 Sunday, October 8, 2023 Approved
Rust (GNU ABI) 1.72.0 3527 Sunday, August 27, 2023 Approved
Rust (GNU ABI) 1.68.0 10287 Sunday, March 12, 2023 Approved
Rust (GNU ABI) 1.67.1 2789 Sunday, February 12, 2023 Approved
Rust (GNU ABI) 1.67.0 1725 Sunday, January 29, 2023 Approved
Rust (GNU ABI) 1.66.1 1711 Sunday, January 15, 2023 Approved
Rust (GNU ABI) 1.66.0 2292 Thursday, December 15, 2022 Approved
Rust (GNU ABI) 1.65.0 520 Tuesday, December 13, 2022 Approved
Rust (GNU ABI) 1.64.0 5097 Sunday, September 25, 2022 Approved
Rust (GNU ABI) 1.63.0 2914 Friday, August 12, 2022 Approved
Rust (GNU ABI) 1.62.1 535 Sunday, August 7, 2022 Approved
Rust (GNU ABI) 1.62.0 148 Sunday, July 17, 2022 Approved
Rust (GNU ABI) 1.61.0 5411 Friday, May 20, 2022 Approved
Rust (GNU ABI) 1.60.0 3400 Friday, April 8, 2022 Approved
Rust (GNU ABI) 1.59.0 1745 Friday, February 25, 2022 Approved
Rust (GNU ABI) 1.58.1 1610 Friday, January 21, 2022 Exempted
Rust (GNU ABI) 1.58.0 10662 Friday, January 14, 2022 Exempted
Rust (GNU ABI) 1.56.1 2536 Monday, November 1, 2021 Approved
Rust (GNU ABI) 1.56.0 891 Thursday, October 21, 2021 Approved
Rust (GNU ABI) 1.55.0 1388 Friday, September 17, 2021 Exempted
Rust (GNU ABI) 1.54.0 1205 Thursday, July 29, 2021 Exempted
Rust (GNU ABI) 1.53.0 2072 Friday, June 18, 2021 Approved
Rust (GNU ABI) 1.52.1 1785 Monday, May 10, 2021 Approved
Rust (GNU ABI) 1.52.0 452 Thursday, May 6, 2021 Approved
Rust (GNU ABI) 1.51.0.20210420 1802 Tuesday, April 20, 2021 Approved
Rust (GNU ABI) 1.51.0.20210412 600 Monday, April 12, 2021 Approved
Rust (GNU ABI) 1.51.0.20200417 114 Saturday, April 17, 2021 Approved
Rust (GNU ABI) 1.51.0 1567 Thursday, March 25, 2021 Approved
Rust (GNU ABI) 1.50.0 1769 Thursday, February 11, 2021 Approved
Rust (GNU ABI) 1.49.0 1531 Thursday, December 31, 2020 Approved
Rust (GNU ABI) 1.48.0.20201127 1286 Friday, November 27, 2020 Approved
Rust (GNU ABI) 1.48.0.20201124 582 Wednesday, November 25, 2020 Approved
Rust (GNU ABI) 1.48.0 429 Saturday, November 21, 2020 Approved
Rust (GNU ABI) 1.46.0 2845 Thursday, August 27, 2020 Approved
Rust (GNU ABI) 1.45.2 1249 Tuesday, August 4, 2020 Approved
Rust (GNU ABI) 1.45.0 1210 Thursday, July 16, 2020 Approved
Rust (GNU ABI) 1.44.1 1675 Thursday, June 18, 2020 Approved
Rust (GNU ABI) 1.44.0 2297 Thursday, June 4, 2020 Approved
Rust (GNU ABI) 1.43.1 1832 Friday, May 8, 2020 Approved
Rust (GNU ABI) 1.43.0 854 Thursday, April 23, 2020 Approved
Rust (GNU ABI) 1.42.0 1544 Thursday, March 12, 2020 Approved
Rust (GNU ABI) 1.41.1 949 Thursday, February 27, 2020 Approved
Rust (GNU ABI) 1.41.0 1584 Thursday, January 30, 2020 Approved
Rust (GNU ABI) 1.40.0 1325 Thursday, December 19, 2019 Approved
Rust (GNU ABI) 1.39.0.20191117 882 Monday, November 18, 2019 Approved
Rust (GNU ABI) 1.39.0 665 Thursday, November 7, 2019 Approved
Rust (GNU ABI) 1.38.0 1407 Thursday, September 26, 2019 Approved
Rust (GNU ABI) 1.37.0 1519 Friday, August 16, 2019 Approved
Rust (GNU ABI) 1.36.0 1798 Friday, July 5, 2019 Approved
Rust (GNU ABI) 1.35.0.20190524 1927 Friday, May 24, 2019 Approved
Rust (GNU ABI) 1.35.0.20190523 233 Monday, June 3, 2019 Approved
Rust (GNU ABI) 1.35.0 4897 Friday, May 24, 2019 Approved
Rust (GNU ABI) 1.34.1 764 Thursday, April 25, 2019 Approved
Rust (GNU ABI) 1.33.0 1133 Monday, March 4, 2019 Approved
Rust (GNU ABI) 1.32.0 1021 Saturday, January 19, 2019 Approved
Rust (GNU ABI) 1.31.1 877 Thursday, December 20, 2018 Approved
Rust (GNU ABI) 1.31.0 571 Friday, December 7, 2018 Approved
Rust (GNU ABI) 1.30.0 936 Thursday, October 25, 2018 Approved
Rust (GNU ABI) 1.29.2 621 Friday, October 12, 2018 Approved
Rust (GNU ABI) 1.29.1 692 Tuesday, September 25, 2018 Approved
Rust (GNU ABI) 1.28.0 1109 Saturday, August 4, 2018 Approved
Rust (GNU ABI) 1.27.2 633 Friday, July 20, 2018 Approved
Rust (GNU ABI) 1.27.0 659 Friday, June 29, 2018 Approved
Rust (GNU ABI) 1.26.1 868 Wednesday, May 30, 2018 Approved
Rust (GNU ABI) 1.26.0 686 Thursday, May 10, 2018 Approved
Rust (GNU ABI) 1.25.0 857 Thursday, March 29, 2018 Approved
Rust (GNU ABI) 1.24.1 738 Friday, March 2, 2018 Approved
Rust (GNU ABI) 1.24.0 652 Thursday, February 15, 2018 Approved
Rust (GNU ABI) 1.23.0 758 Tuesday, January 9, 2018 Approved
Rust (GNU ABI) 1.22.1 844 Saturday, November 25, 2017 Approved
Rust (GNU ABI) 1.21.0 791 Tuesday, October 17, 2017 Approved
Rust (GNU ABI) 1.20.0 833 Thursday, August 31, 2017 Approved
Rust (GNU ABI) 1.19.0 804 Saturday, July 22, 2017 Approved
Rust (GNU ABI) 1.18.0 808 Thursday, June 8, 2017 Approved
Rust (GNU ABI) 1.17.0 736 Thursday, April 27, 2017 Approved
Rust (GNU ABI) 1.16.0 795 Friday, March 17, 2017 Approved
Rust 1.13.0 1255 Friday, November 11, 2016 Approved
Rust 1.11.0.1 855 Wednesday, August 31, 2016 Approved
Rust 1.11.0 671 Sunday, August 21, 2016 Approved
Rust 1.10.0 587 Monday, August 15, 2016 Approved
Rust 1.9.0 626 Thursday, May 26, 2016 Approved
Rust 1.8.0 601 Monday, April 18, 2016 Approved
Rust 1.7.0 673 Tuesday, March 8, 2016 Approved
Rust 1.6.0 596 Sunday, January 31, 2016 Approved
Rust 1.5.0 624 Friday, December 11, 2015 Approved
Rust 1.4.0 456 Tuesday, November 24, 2015 Approved
Rust 1.2.0 463 Monday, August 10, 2015 Approved
Rust 1.1.0 486 Monday, July 6, 2015 Approved
Rust 1.0.0 483 Sunday, May 17, 2015 Approved
Rust 1.0.0-alpha2 612 Wednesday, March 11, 2015 Exempted
Rust 0.12.0 861 Sunday, November 16, 2014 Approved
Rust 0.11.0 698 Tuesday, July 15, 2014 Approved
Rust 0.10 463 Tuesday, July 1, 2014 Approved
Rust 0.9 606 Tuesday, January 14, 2014 Approved
Rust 0.8 509 Thursday, October 3, 2013 Approved

Version 1.35.0 (2019-05-23)

Chocolatey package

  • Chocolatey package updates now work correctly, instead of installing multiple versions of Rust side-by-side.
  • Rust no longer appears in "Add / Remove Programs," and should be uninstalled through the choco command.
  • The command line tools now use Chocolatey executable shims, so it doesn't pollute your path and won't require any manual tweaks to your system's environment settings.
  • The package now includes Clippy, Miri, Rustfmt, and RLS.
  • Documentation and source code is now included.

Language

Compiler

Libraries

Stabilized APIs

Cargo

Misc

Version 1.34.0 (2019-04-11)

Language

Compiler

Libraries

Stabilized APIs

std & core

std

Cargo

Misc

Compatibility Notes


This package has no dependencies.

Discussion for the Rust (GNU ABI) Package

Ground Rules:

  • This discussion is only about Rust (GNU ABI) and the Rust (GNU ABI) package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or Rust (GNU ABI), or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus