@@ -13,28 +13,17 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
13
See the License for the specific language governing permissions and
14
14
limitations under the License.
15
15
*/
16
-
17
16
#![ allow( clippy:: disallowed_macros) ]
18
- #[ cfg( not( target_env = "musl" ) ) ]
19
17
use hyperlight_host:: sandbox:: uninitialized:: UninitializedSandbox ;
20
- #[ cfg( not( target_env = "musl" ) ) ]
21
18
use hyperlight_host:: { GuestBinary , Result } ;
22
- #[ cfg( not( target_env = "musl" ) ) ]
23
19
use hyperlight_testing:: simple_guest_as_string;
24
- #[ cfg( not( target_env = "musl" ) ) ]
25
20
use tracing_subscriber:: EnvFilter ;
26
- #[ cfg( not( target_env = "musl" ) ) ]
27
21
use tracing_subscriber:: layer:: SubscriberExt ;
28
22
29
- #[ cfg( target_env = "musl" ) ]
30
- fn main ( ) {
31
- println ! ( "Tracy example isn't tested run on musl" ) ;
32
- }
33
23
// An example of how to get tracy tracing working with hyperlight.
34
24
// Run with:
35
25
// TRACY_NO_EXIT=1 RUST_LOG=trace cargo run --package hyperlight-host --example tracing-tracy --profile release-with-debug,
36
26
// 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" ) ) ]
38
27
fn main ( ) -> Result < ( ) > {
39
28
tracing:: subscriber:: set_global_default (
40
29
tracing_subscriber:: registry ( )
0 commit comments