Skip to content

Commit 072bd20

Browse files
authored
Merge pull request #379 from Superhepper/clippy-1.65
Fixes build problems related to compilers and editions.
2 parents f66e57e + 853d719 commit 072bd20

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- uses: actions/checkout@v2
2424
- name: Check formatting
2525
run: cargo fmt --all -- --check
26-
# Check that it builds with the Minimum Supported Rust Version
26+
# Check that it builds with the Minimum Supported Rust Version
2727
msrv:
2828
name: Check minimum supported rust version (MSRV)
2929
runs-on: ubuntu-latest
@@ -32,7 +32,7 @@ jobs:
3232
- name: Build the container
3333
run: docker build -t ubuntucontainer tss-esapi/tests/ --file tss-esapi/tests/Dockerfile-ubuntu
3434
- name: Run the container
35-
run: docker run -v $(pwd):/tmp/rust-tss-esapi -w /tmp/rust-tss-esapi/tss-esapi --env RUST_TOOLCHAIN_VERSION=1.53.0 ubuntucontainer /tmp/rust-tss-esapi/tss-esapi/tests/all-ubuntu.sh
35+
run: docker run -v $(pwd):/tmp/rust-tss-esapi -w /tmp/rust-tss-esapi/tss-esapi --env RUST_TOOLCHAIN_VERSION=1.56.0 ubuntucontainer /tmp/rust-tss-esapi/tss-esapi/tests/all-ubuntu.sh
3636
# All in one job as I think it is a big overhead to build and run the Docker
3737
# container?
3838
tests-ubuntu:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ At the moment we test (via CI) and support the following Rust compiler versions:
99

1010
* On Ubuntu we test with:
1111
- The latest stable compiler version, as accessible through `rustup`.
12-
- The 1.53 compiler version.
12+
- The 1.56 compiler version.
1313
* On Fedora we test with the compiler version included with the Fedora 35 release.
1414

1515
If you need support for other versions of the compiler, get in touch with us to see what we can do!

tss-esapi/src/context/tpm_commands/enhanced_authorization_ea_commands.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -552,7 +552,7 @@ impl Context {
552552
self.optional_session_1(),
553553
self.optional_session_2(),
554554
self.optional_session_3(),
555-
if written_set { 1 } else { 0 },
555+
written_set.into(),
556556
)
557557
},
558558
|ret| {

0 commit comments

Comments
 (0)