diff --git a/client/executor/wasmtime/src/tests.rs b/client/executor/wasmtime/src/tests.rs index e8d7c5ab1afac..65093687822d4 100644 --- a/client/executor/wasmtime/src/tests.rs +++ b/client/executor/wasmtime/src/tests.rs @@ -500,10 +500,7 @@ fn test_instances_without_reuse_are_not_leaked() { #[test] fn test_rustix_version_matches_with_wasmtime() { - let metadata = cargo_metadata::MetadataCommand::new() - .manifest_path("../../../Cargo.toml") - .exec() - .unwrap(); + let metadata = cargo_metadata::MetadataCommand::new().exec().unwrap(); let wasmtime_rustix = metadata .packages