Skip to content
Snippets Groups Projects
Commit 1eb3b31a authored by Bastian Köcher's avatar Bastian Köcher Committed by GitHub
Browse files

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

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

As the test is executed inside the workspace, `cargo metadata` will automatically detect the correct
`Cargo.toml`. This is required for the mono repo.

* ".git/.scripts/commands/fmt/fmt.sh"

---------

Co-authored-by: command-bot <>
parent fda77695
Branches
No related merge requests found
......@@ -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
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment