Add cargo workspace to allow rust-analyzer to work correctly (#197)

Signed-off-by: José Ulises Niño Rivera <junr03@users.noreply.github.com>
This commit is contained in:
José Ulises Niño Rivera 2024-10-18 12:44:52 -07:00 committed by GitHub
parent 6fb63510b3
commit aa30353c85
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 2243 additions and 2 deletions

View file

@ -7,7 +7,7 @@ use serial_test::serial;
use std::path::Path;
fn wasm_module() -> String {
let wasm_file = Path::new("target/wasm32-wasi/release/llm_gateway.wasm");
let wasm_file = Path::new("../target/wasm32-wasi/release/llm_gateway.wasm");
assert!(
wasm_file.exists(),
"Run `cargo build --release --target=wasm32-wasi` first"