Skip to content

Commit afdfc04

Browse files
authored
Add missing clippy checks to clippy-exhaustive-target (#890)
Signed-off-by: Simon Davies <[email protected]>
1 parent 81ad304 commit afdfc04

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

Justfile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,10 @@ clippy-exhaustive target=default-target: (witguest-wit)
260260
./hack/clippy-package-features.sh hyperlight-guest-bin {{ target }}
261261
./hack/clippy-package-features.sh hyperlight-common {{ target }}
262262
./hack/clippy-package-features.sh hyperlight-testing {{ target }}
263+
./hack/clippy-package-features.sh hyperlight-component-macro {{ target }}
264+
./hack/clippy-package-features.sh hyperlight-component-util {{ target }}
265+
./hack/clippy-package-features.sh hyperlight-guest-tracing-macro {{ target }}
266+
./hack/clippy-package-features.sh hyperlight-guest-tracing {{ target }}
263267
just clippy-guests {{ target }}
264268

265269
# Test a specific package with all feature combinations
@@ -268,7 +272,7 @@ clippy-package package target=default-target: (witguest-wit)
268272

269273
# Verify Minimum Supported Rust Version
270274
verify-msrv:
271-
./dev/verify-msrv.sh hyperlight-host hyperlight-guest hyperlight-guest-lib hyperlight-common
275+
./dev/verify-msrv.sh hyperlight-common hyperlight-guest hyperlight-guest-bin hyperlight-host hyperlight-component-util hyperlight-component-macro hyperlight-guest-tracing-macro hyperlight-guest-tracing
272276

273277
#####################
274278
### RUST EXAMPLES ###

src/hyperlight_guest_tracing/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ mod trace {
355355
#[test]
356356
fn test_trace_record_creation_valid() {
357357
let msg = "Valid message";
358-
let entry = TraceRecord::try_from(msg).expect("Failed to create TraceRecord");
358+
let entry = TraceRecord::from(msg);
359359
assert_eq!(entry.msg_len, msg.len());
360360
assert_eq!(&entry.msg[..msg.len()], msg.as_bytes());
361361
assert!(entry.cycles > 0); // Ensure cycles is set

0 commit comments

Comments
 (0)