Skip to content

Commit 992ce17

Browse files
committed
Upgrade rustc from 1.42.0 to 1.70.0
1 parent e24a9c8 commit 992ce17

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

examples/rust/rust-toolchain

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.42.0
1+
1.70.0

tests/test_rust.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class TestRustListDependencies(unittest.TestCase):
1313
def test_separate_crates(self) -> None:
1414
files = {
1515
pathlib.Path('rust-toolchain'): textwrap.dedent("""\
16-
1.42.0
16+
1.70.0
1717
""").encode(),
1818
pathlib.Path('Cargo.toml'): textwrap.dedent("""\
1919
[workspace]
@@ -124,7 +124,7 @@ def sub_crate_src_path(crate_name: str) -> pathlib.Path:
124124
def test_separate_workspaces(self) -> None:
125125
files = {
126126
pathlib.Path('rust-toolchain'): textwrap.dedent("""\
127-
1.42.0
127+
1.70.0
128128
""").encode(),
129129
pathlib.Path('Cargo.toml'): textwrap.dedent("""\
130130
[workspace]
@@ -193,7 +193,7 @@ def test_separate_workspaces(self) -> None:
193193
def test_gathered_source_files(self) -> None:
194194
files = {
195195
pathlib.Path('rust-toolchain'): textwrap.dedent("""\
196-
1.42.0
196+
1.70.0
197197
""").encode(),
198198
pathlib.Path('Cargo.toml'): textwrap.dedent("""\
199199
[workspace]
@@ -307,7 +307,7 @@ def sub_lib_src_path(crate_name: str) -> pathlib.Path:
307307
def test_mono_package(self) -> None:
308308
files = {
309309
pathlib.Path('rust-toolchain'): textwrap.dedent("""\
310-
1.42.0
310+
1.70.0
311311
""").encode(),
312312
pathlib.Path('Cargo.toml'): textwrap.dedent("""\
313313
[package]
@@ -348,7 +348,7 @@ def test_mono_package(self) -> None:
348348
def test_external_crates(self) -> None:
349349
files = {
350350
pathlib.Path('rust-toolchain'): textwrap.dedent("""\
351-
1.42.0
351+
1.70.0
352352
""").encode(),
353353
pathlib.Path('Cargo.toml'): textwrap.dedent("""\
354354
[package]
@@ -375,7 +375,7 @@ def test_external_crates(self) -> None:
375375
def test_build_dependencies(self) -> None:
376376
files = {
377377
pathlib.Path('rust-toolchain'): textwrap.dedent("""\
378-
1.42.0
378+
1.70.0
379379
""").encode(),
380380
pathlib.Path('Cargo.toml'): textwrap.dedent("""\
381381
[workspace]
@@ -441,7 +441,7 @@ class TestRustVerification(unittest.TestCase):
441441
def test_success(self) -> None:
442442
files = {
443443
pathlib.Path('rust-toolchain'): textwrap.dedent("""\
444-
1.42.0
444+
1.70.0
445445
""").encode(),
446446
pathlib.Path('Cargo.toml'): textwrap.dedent("""\
447447
[package]

0 commit comments

Comments
 (0)