File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
src/hyperlight_guest_tracing/src Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -260,6 +260,10 @@ clippy-exhaustive target=default-target: (witguest-wit)
260
260
./ hack/ clippy-package-features.sh hyperlight-guest-bin {{ target }}
261
261
./ hack/ clippy-package-features.sh hyperlight-common {{ target }}
262
262
./ 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 }}
263
267
just clippy-guests {{ target }}
264
268
265
269
# Test a specific package with all feature combinations
@@ -268,7 +272,7 @@ clippy-package package target=default-target: (witguest-wit)
268
272
269
273
# Verify Minimum Supported Rust Version
270
274
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
272
276
273
277
#####################
274
278
### RUST EXAMPLES ###
Original file line number Diff line number Diff line change @@ -355,7 +355,7 @@ mod trace {
355
355
#[ test]
356
356
fn test_trace_record_creation_valid ( ) {
357
357
let msg = "Valid message" ;
358
- let entry = TraceRecord :: try_from ( msg) . expect ( "Failed to create TraceRecord" ) ;
358
+ let entry = TraceRecord :: from ( msg) ;
359
359
assert_eq ! ( entry. msg_len, msg. len( ) ) ;
360
360
assert_eq ! ( & entry. msg[ ..msg. len( ) ] , msg. as_bytes( ) ) ;
361
361
assert ! ( entry. cycles > 0 ) ; // Ensure cycles is set
You can’t perform that action at this time.
0 commit comments