Skip to content

Commit b831232

Browse files
authored
update to Rust edition 2024 (#113)
Signed-off-by: Wojciech Ozga <[email protected]>
1 parent 1aaabb9 commit b831232

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+1369
-605
lines changed

security-monitor/Cargo.lock

Lines changed: 160 additions & 393 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

security-monitor/Cargo.toml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
[package]
22
name = "security-monitor"
3-
version = "0.3.0"
3+
version = "0.4.0"
44
authors = ["Wojciech Ozga <[email protected]>"]
55
description = "Assured Confidential Execution (ACE): security monitor implementation targetting RISC-V"
6-
edition = "2021"
6+
edition = "2024"
77

88
[dependencies]
99
# Below crate provides a parser of flattened device tree (FDT) data. It is used in the initialization procedure
@@ -31,7 +31,8 @@ spin = {version="0.10", default-features = false, features = ["once", "rwlock",
3131
riscv_cove_tap = {path = "rust-crates/riscv_cove_tap", features = ["parser"]}
3232

3333
# Used to measure confidential VM, required for attestation
34-
sha2 = { version = "0.10", default-features = false }
34+
sha3 = { version = "0.10.8", default-features = false }
35+
generic-array = "0.14"
3536

3637
# provides macros that help removing boilerplate code in the rust error handling
3738
thiserror-no-std = "2.0"

security-monitor/Makefile

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ PLATFORM_RISCV_ISA ?= rv64gc
2525
PLATFORM_RISCV_XLEN ?= 64
2626
CROSS_COMPILE ?= riscv64-unknown-linux-gnu-
2727

28-
all: audit opensbi_bindings build
28+
all: opensbi_bindings build
2929

3030
build: opensbi_bindings fmt
3131
echo "Generating OpenSBI bindings" ;\
@@ -73,9 +73,6 @@ doc:
7373

7474
check: build test
7575

76-
audit:
77-
@$(CARGO) audit
78-
7976
clippy:
8077
@$(CARGO) clippy
8178

0 commit comments

Comments
 (0)