Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

sc-executor-wasmtime: Do not use absolute path to Cargo.toml in test #14370

Merged
merged 2 commits into from
Jun 13, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions client/executor/wasmtime/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down