Skip to content

Commit 28f7f92

Browse files
authored
Add wasm-runtime as a dependency and find it using cargo-metadata (#410)
* Make wsm-runtime a library and a binary Signed-off-by: Jorge Prendes <jorge.prendes@gmail.com> * Use workspace dependencies Signed-off-by: Jorge Prendes <jorge.prendes@gmail.com> * Add wasm-runtime as a dependency and find its path using cargo metadata Signed-off-by: Jorge Prendes <jorge.prendes@gmail.com> * fix test Signed-off-by: Jorge Prendes <jorge.prendes@gmail.com> * fix clippy Signed-off-by: Jorge Prendes <jorge.prendes@gmail.com> --------- Signed-off-by: Jorge Prendes <jorge.prendes@gmail.com>
1 parent 6ec9f3f commit 28f7f92

12 files changed

Lines changed: 490 additions & 131 deletions

File tree

.vscode/settings.json

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,6 @@
11
{
2-
32
// This is needed to allow tests to find files when running under the debugger
43
"rust-analyzer.runnables.extraEnv": {
54
"RUST_DIR_FOR_DEBUGGING_TESTS": "${workspaceFolder}/src/hyperlight_wasm"
65
},
7-
8-
// Include wasm_runtime directory for rust-analyzer support
9-
"rust-analyzer.linkedProjects": [
10-
"${workspaceFolder}/src/wasm_runtime/Cargo.toml"
11-
]
126
}

0 commit comments

Comments
 (0)