Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade rustc from 1.42.0 to 1.70.0 #432

Merged
merged 1 commit into from
Dec 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/rust/rust-toolchain
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.42.0
1.70.0
14 changes: 7 additions & 7 deletions tests/test_rust.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down Expand Up @@ -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]
Expand Down Expand Up @@ -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]
Expand Down Expand Up @@ -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]
Expand Down Expand Up @@ -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]
Expand All @@ -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]
Expand Down Expand Up @@ -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]
Expand Down
Loading