mirror of
https://github.com/containers/youki
synced 2024-04-20 00:54:12 +02:00
Update to rust 1.62.1
Signed-off-by: Furisto <24721048+Furisto@users.noreply.github.com>
This commit is contained in:
parent
743a4ac367
commit
c95fcc178b
|
@ -26,7 +26,7 @@ jobs:
|
|||
timeout-minutes: 15
|
||||
strategy:
|
||||
matrix:
|
||||
rust: [1.60.0, 1.61.0]
|
||||
rust: [1.61.0, 1.62.1]
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions-rs/toolchain@v1
|
||||
|
|
|
@ -31,7 +31,7 @@ jobs:
|
|||
timeout-minutes: 15
|
||||
strategy:
|
||||
matrix:
|
||||
rust: [1.60.0, 1.61.0]
|
||||
rust: [1.61.0, 1.62.1]
|
||||
dirs: ${{ fromJSON(needs.changes.outputs.dirs) }}
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
@ -55,7 +55,7 @@ jobs:
|
|||
timeout-minutes: 15
|
||||
strategy:
|
||||
matrix:
|
||||
rust: [1.60.0, 1.61.0]
|
||||
rust: [1.61.0, 1.62.1]
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions-rs/toolchain@v1
|
||||
|
@ -77,7 +77,7 @@ jobs:
|
|||
- name: Toolchain setup
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: 1.61.0
|
||||
toolchain: 1.62.1
|
||||
override: true
|
||||
profile: minimal
|
||||
components: llvm-tools-preview
|
||||
|
@ -105,7 +105,7 @@ jobs:
|
|||
timeout-minutes: 15
|
||||
strategy:
|
||||
matrix:
|
||||
rust: [1.60.0, 1.61.0]
|
||||
rust: [1.61.0, 1.62.1]
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
|
|
|
@ -60,7 +60,7 @@ impl HugeTlb {
|
|||
let page_size: String = hugetlb
|
||||
.page_size()
|
||||
.chars()
|
||||
.take_while(|c| c.is_digit(10))
|
||||
.take_while(|c| c.is_ascii_digit())
|
||||
.collect();
|
||||
let page_size: u64 = page_size.parse()?;
|
||||
if !Self::is_power_of_two(page_size) {
|
||||
|
@ -150,7 +150,7 @@ mod tests {
|
|||
let page_size: String = hugetlb
|
||||
.page_size()
|
||||
.chars()
|
||||
.take_while(|c| c.is_digit(10))
|
||||
.take_while(|c| c.is_ascii_digit())
|
||||
.collect();
|
||||
let page_size: u64 = page_size.parse().expect("parse page size");
|
||||
|
||||
|
|
|
@ -47,7 +47,7 @@ impl HugeTlb {
|
|||
let page_size: String = hugetlb
|
||||
.page_size()
|
||||
.chars()
|
||||
.take_while(|c| c.is_digit(10))
|
||||
.take_while(|c| c.is_ascii_digit())
|
||||
.collect();
|
||||
let page_size: u64 = page_size.parse()?;
|
||||
if !Self::is_power_of_two(page_size) {
|
||||
|
@ -135,7 +135,7 @@ mod tests {
|
|||
let page_size: String = hugetlb
|
||||
.page_size()
|
||||
.chars()
|
||||
.take_while(|c| c.is_digit(10))
|
||||
.take_while(|c| c.is_ascii_digit())
|
||||
.collect();
|
||||
let page_size: u64 = page_size.parse().expect("parse page size");
|
||||
|
||||
|
|
Loading…
Reference in New Issue