@@ -13,28 +13,17 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1313See the License for the specific language governing permissions and
1414limitations under the License.
1515*/
16-
1716#![ allow( clippy:: disallowed_macros) ]
18- #[ cfg( not( target_env = "musl" ) ) ]
1917use hyperlight_host:: sandbox:: uninitialized:: UninitializedSandbox ;
20- #[ cfg( not( target_env = "musl" ) ) ]
2118use hyperlight_host:: { GuestBinary , Result } ;
22- #[ cfg( not( target_env = "musl" ) ) ]
2319use hyperlight_testing:: simple_guest_as_string;
24- #[ cfg( not( target_env = "musl" ) ) ]
2520use tracing_subscriber:: EnvFilter ;
26- #[ cfg( not( target_env = "musl" ) ) ]
2721use tracing_subscriber:: layer:: SubscriberExt ;
2822
29- #[ cfg( target_env = "musl" ) ]
30- fn main ( ) {
31- println ! ( "Tracy example isn't tested run on musl" ) ;
32- }
3323// An example of how to get tracy tracing working with hyperlight.
3424// Run with:
3525// TRACY_NO_EXIT=1 RUST_LOG=trace cargo run --package hyperlight-host --example tracing-tracy --profile release-with-debug,
3626// and then open the `tracy-profiler` GUI, and there should be an option to load the client created by this example.
37- #[ cfg( not( target_env = "musl" ) ) ]
3827fn main ( ) -> Result < ( ) > {
3928 tracing:: subscriber:: set_global_default (
4029 tracing_subscriber:: registry ( )
0 commit comments