Convert toolchain file to TOML syntax
rustup 1.23.0 (2020-11-27) introduced support for TOML syntax for the
toolchain file. Use this and specify required compoenents.
To ensure you are using a new enough rustup, run:
    rustup self update
			
			
This commit is contained in:
		
				
					committed by
					
						 Jeremy Soller
						Jeremy Soller
					
				
			
			
				
	
			
			
			
						parent
						
							66a970fa51
						
					
				
				
					commit
					17f8e37ed5
				
			| @@ -1 +1,3 @@ | ||||
| nightly-2020-07-27 | ||||
| [toolchain] | ||||
| channel = "nightly-2020-07-27" | ||||
| components = ["rust-src"] | ||||
|   | ||||
| @@ -51,10 +51,7 @@ if ! which rustup &> /dev/null; then | ||||
|     source "${HOME}/.cargo/env" | ||||
| fi | ||||
|  | ||||
| msg "Installing pinned Rust toolchain" | ||||
| rustup toolchain install "$(cat rust-toolchain)" | ||||
|  | ||||
| msg "Installing source for pinned Rust toolchain" | ||||
| rustup component add --toolchain "$(cat rust-toolchain)" rust-src | ||||
| msg "Installing pinned Rust toolchain and components" | ||||
| rustup show | ||||
|  | ||||
| msg "\x1B[32mSuccessfully installed dependencies" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user