@@ -110,7 +110,7 @@ like-ci config=default-target hypervisor="kvm":
110110 {{ if os () == " linux" { " just clippy-exhaustive " + config } else { " " } }}
111111
112112 @ # Verify MSRV
113- ./ 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
113+ ./ dev/ verify-msrv.sh hyperlight-common hyperlight-guest hyperlight-guest-bin hyperlight-host hyperlight-component-util hyperlight-component-macro hyperlight-guest-tracing
114114
115115 @ # Build and move Rust guests
116116 just build-rust-guests {{ config}}
@@ -200,22 +200,10 @@ test-rust-crashdump target=default-target features="":
200200test-rust-tracing target = default-target features = " ":
201201 # Run tests for the tracing guest and macro
202202 {{ cargo-cmd }} test -p hyperlight-guest-tracing --profile={{ if target == " debug" { " dev" } else { target } }} {{ target-triple-flag }}
203- {{ cargo-cmd }} test -p hyperlight-guest-tracing-macro --profile={{ if target == " debug" { " dev" } else { target } }} {{ target-triple-flag }}
204203
205- # Prepare the tracing guest for testing
204+ # Build the tracing guest to ensure it builds with the tracing feature
206205 just build-rust-guests {{ target }} trace_guest
207206 just move-rust-guests {{ target }}
208- # Run hello-world example with tracing enabled to get the trace output
209- # note that trace-dump doesn't run on MUSL target as of now
210- TRACE_OUTPUT=" $({{ cargo-cmd }} run --profile={{ if target == " debug" { " dev" } else { target } }} {{ target-triple-flag }} --example hello-world --features {{ if features == " " {" trace_guest" } else { " trace_guest," + features } }} )" && \
211- TRACE_FILE=" $(echo " $TRACE_OUTPUT" | grep -oE 'Creating trace file at: [^ ]+' | awk -F': ' '{print $2}')" && \
212- TRACE_FILE=" $(echo " $TRACE_OUTPUT" | grep -oE 'Creating trace file at: [^ ]+' | awk -F': ' '{print $2}' | sed -E 's|^(trace/[^ ]+\. trace)$|./\1 |; s|.*/(trace/[^ ]+\. trace)$|./\1 |')" && \
213- echo " $TRACE_OUTPUT" && \
214- if [ -z " $TRACE_FILE" ]; then \
215- echo " Error: Could not extract trace file path from output." >&2 ; \
216- exit 1 ; \
217- fi && \
218- cargo run -p trace_dump ./ {{ simpleguest_source }} / {{ target }} / simpleguest " $TRACE_FILE" list_frames
219207
220208 # Rebuild the tracing guests without the tracing feature
221209 # This is to ensure that the tracing feature does not affect the other tests
@@ -275,7 +263,6 @@ clippy-exhaustive target=default-target: (witguest-wit)
275263 ./ hack/ clippy-package-features.sh hyperlight-testing {{ target }} {{ target-triple }}
276264 ./ hack/ clippy-package-features.sh hyperlight-component-macro {{ target }} {{ target-triple }}
277265 ./ hack/ clippy-package-features.sh hyperlight-component-util {{ target }} {{ target-triple }}
278- ./ hack/ clippy-package-features.sh hyperlight-guest-tracing-macro {{ target }}
279266 ./ hack/ clippy-package-features.sh hyperlight-guest-tracing {{ target }}
280267 just clippy-guests {{ target }}
281268
@@ -285,7 +272,7 @@ clippy-package package target=default-target: (witguest-wit)
285272
286273# Verify Minimum Supported Rust Version
287274verify-msrv :
288- ./ 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
275+ ./ dev/ verify-msrv.sh hyperlight-common hyperlight-guest hyperlight-guest-bin hyperlight-host hyperlight-component-util hyperlight-component-macro hyperlight-guest-tracing
289276
290277#####################
291278### RUST EXAMPLES ###
0 commit comments