From 992ce179daff431402cf86db7a5de3a434f32a77 Mon Sep 17 00:00:00 2001 From: koba-e964 <3303362+koba-e964@users.noreply.github.com> Date: Fri, 8 Dec 2023 11:27:23 +0900 Subject: [PATCH] Upgrade rustc from 1.42.0 to 1.70.0 --- examples/rust/rust-toolchain | 2 +- tests/test_rust.py | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/examples/rust/rust-toolchain b/examples/rust/rust-toolchain index a50908ca..832e9afb 100644 --- a/examples/rust/rust-toolchain +++ b/examples/rust/rust-toolchain @@ -1 +1 @@ -1.42.0 +1.70.0 diff --git a/tests/test_rust.py b/tests/test_rust.py index 932f03cb..b8a4c4bc 100644 --- a/tests/test_rust.py +++ b/tests/test_rust.py @@ -13,7 +13,7 @@ class TestRustListDependencies(unittest.TestCase): def test_separate_crates(self) -> None: files = { pathlib.Path('rust-toolchain'): textwrap.dedent("""\ - 1.42.0 + 1.70.0 """).encode(), pathlib.Path('Cargo.toml'): textwrap.dedent("""\ [workspace] @@ -124,7 +124,7 @@ def sub_crate_src_path(crate_name: str) -> pathlib.Path: def test_separate_workspaces(self) -> None: files = { pathlib.Path('rust-toolchain'): textwrap.dedent("""\ - 1.42.0 + 1.70.0 """).encode(), pathlib.Path('Cargo.toml'): textwrap.dedent("""\ [workspace] @@ -193,7 +193,7 @@ def test_separate_workspaces(self) -> None: def test_gathered_source_files(self) -> None: files = { pathlib.Path('rust-toolchain'): textwrap.dedent("""\ - 1.42.0 + 1.70.0 """).encode(), pathlib.Path('Cargo.toml'): textwrap.dedent("""\ [workspace] @@ -307,7 +307,7 @@ def sub_lib_src_path(crate_name: str) -> pathlib.Path: def test_mono_package(self) -> None: files = { pathlib.Path('rust-toolchain'): textwrap.dedent("""\ - 1.42.0 + 1.70.0 """).encode(), pathlib.Path('Cargo.toml'): textwrap.dedent("""\ [package] @@ -348,7 +348,7 @@ def test_mono_package(self) -> None: def test_external_crates(self) -> None: files = { pathlib.Path('rust-toolchain'): textwrap.dedent("""\ - 1.42.0 + 1.70.0 """).encode(), pathlib.Path('Cargo.toml'): textwrap.dedent("""\ [package] @@ -375,7 +375,7 @@ def test_external_crates(self) -> None: def test_build_dependencies(self) -> None: files = { pathlib.Path('rust-toolchain'): textwrap.dedent("""\ - 1.42.0 + 1.70.0 """).encode(), pathlib.Path('Cargo.toml'): textwrap.dedent("""\ [workspace] @@ -441,7 +441,7 @@ class TestRustVerification(unittest.TestCase): def test_success(self) -> None: files = { pathlib.Path('rust-toolchain'): textwrap.dedent("""\ - 1.42.0 + 1.70.0 """).encode(), pathlib.Path('Cargo.toml'): textwrap.dedent("""\ [package]