updated circleci to use latest rust version

This commit is contained in:
0rphon 2022-03-15 17:28:12 -07:00
parent 82ce58544b
commit 71c4354d5b
2 changed files with 14 additions and 14 deletions

View File

@ -46,7 +46,7 @@ commands:
jobs: jobs:
check-style: check-style:
docker: docker:
- image: cimg/rust:1.56.1 - image: cimg/rust:1.59.0
resource_class: xlarge resource_class: xlarge
steps: steps:
- checkout - checkout
@ -61,7 +61,7 @@ jobs:
clippy: clippy:
docker: docker:
- image: cimg/rust:1.56.1 - image: cimg/rust:1.59.0
resource_class: xlarge resource_class: xlarge
steps: steps:
- checkout - checkout
@ -76,7 +76,7 @@ jobs:
# code-cov: # code-cov:
# docker: # docker:
# - image: cimg/rust:1.56.1 # - image: cimg/rust:1.59.0
# resource_class: xlarge # resource_class: xlarge
# environment: # environment:
# RUSTC_BOOTSTRAP: 1 # RUSTC_BOOTSTRAP: 1
@ -118,7 +118,7 @@ jobs:
leo-executable: leo-executable:
docker: docker:
- image: cimg/rust:1.56.1 - image: cimg/rust:1.59.0
resource_class: xlarge resource_class: xlarge
steps: steps:
- checkout - checkout
@ -136,7 +136,7 @@ jobs:
# #
# leo-new: # leo-new:
# docker: # docker:
# - image: cimg/rust:1.56.1 # - image: cimg/rust:1.59.0
# resource_class: xlarge # resource_class: xlarge
# steps: # steps:
# - attach_workspace: # - attach_workspace:
@ -149,7 +149,7 @@ jobs:
# #
# leo-init: # leo-init:
# docker: # docker:
# - image: cimg/rust:1.56.1 # - image: cimg/rust:1.59.0
# resource_class: xlarge # resource_class: xlarge
# steps: # steps:
# - attach_workspace: # - attach_workspace:
@ -162,7 +162,7 @@ jobs:
# #
# leo-clean: # leo-clean:
# docker: # docker:
# - image: cimg/rust:1.56.1 # - image: cimg/rust:1.59.0
# resource_class: xlarge # resource_class: xlarge
# steps: # steps:
# - attach_workspace: # - attach_workspace:
@ -175,7 +175,7 @@ jobs:
# #
# leo-setup: # leo-setup:
# docker: # docker:
# - image: cimg/rust:1.56.1 # - image: cimg/rust:1.59.0
# resource_class: xlarge # resource_class: xlarge
# steps: # steps:
# - attach_workspace: # - attach_workspace:
@ -188,7 +188,7 @@ jobs:
# leo-add-remove: # leo-add-remove:
# docker: # docker:
# - image: cimg/rust:1.56.1 # - image: cimg/rust:1.59.0
# resource_class: xlarge # resource_class: xlarge
# steps: # steps:
# - attach_workspace: # - attach_workspace:
@ -202,7 +202,7 @@ jobs:
# todo (collin): uncomment after compiler refactor # todo (collin): uncomment after compiler refactor
# leo-check-constraints: # leo-check-constraints:
# docker: # docker:
# - image: cimg/rust:1.56.1 # - image: cimg/rust:1.59.0
# resource_class: xlarge # resource_class: xlarge
# steps: # steps:
# - attach_workspace: # - attach_workspace:
@ -215,7 +215,7 @@ jobs:
# #
# leo-login-logout: # leo-login-logout:
# docker: # docker:
# - image: cimg/rust:1.56.1 # - image: cimg/rust:1.59.0
# resource_class: xlarge # resource_class: xlarge
# steps: # steps:
# - attach_workspace: # - attach_workspace:
@ -228,7 +228,7 @@ jobs:
# #
# leo-clone: # leo-clone:
# docker: # docker:
# - image: cimg/rust:1.56.1 # - image: cimg/rust:1.59.0
# resource_class: xlarge # resource_class: xlarge
# steps: # steps:
# - attach_workspace: # - attach_workspace:
@ -241,7 +241,7 @@ jobs:
# #
# leo-publish: # leo-publish:
# docker: # docker:
# - image: cimg/rust:1.56.1 # - image: cimg/rust:1.59.0
# resource_class: xlarge # resource_class: xlarge
# steps: # steps:
# - attach_workspace: # - attach_workspace:

View File

@ -239,7 +239,7 @@ impl TryFrom<&Path> for Manifest {
let remote_author = old_remote let remote_author = old_remote
.split('/') // Split the old remote as '"{author}' and '{package_name}"' .split('/') // Split the old remote as '"{author}' and '{package_name}"'
.next().unwrap() // Fetch just the '"{author}' .next().unwrap() // Fetch just the '"{author}'
.replace(['\"', ' '].as_slice(), ""); // Remove the quotes from the author string .replace(&['\"', ' '], ""); // Remove the quotes from the author string
// Construct the new remote section. // Construct the new remote section.
let new_remote = format!( let new_remote = format!(