test_gen: place test host .wasm file in Cargo build directory

This commit is contained in:
Brian Carroll 2022-07-11 20:47:24 +01:00
parent 34b1392385
commit 8533d00f1a
No known key found for this signature in database
GPG key ID: 9CF4E3BF9C4722C7
2 changed files with 4 additions and 4 deletions

View file

@ -19,7 +19,7 @@ const INIT_REFCOUNT_NAME: &str = "init_refcount_test";
macro_rules! host_bytes_path {
() => {
// Should manually match build.rs. include_bytes! requires a string literal.
concat!(env!("CARGO_MANIFEST_DIR"), "/build/wasm_test_platform.wasm")
concat!(env!("OUT_DIR"), "/wasm_test_platform.wasm")
};
}