Skip to content

Commit

Permalink
Merge pull request #153 from grafana/use-out-dir
Browse files Browse the repository at this point in the history
fix: use OUT_DIR instead of CARGO_MANIFEST_DIR
  • Loading branch information
sd2k authored Nov 9, 2024
2 parents 389d47f + a624fd1 commit 2bf1f2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/augurs-prophet/src/wasmstan.rs
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ impl WasmstanOptimizer {
#[cfg(feature = "wasmstan")]
pub fn new() -> Self {
Self::with_custom_image(include_bytes!(concat!(
std::env!("CARGO_MANIFEST_DIR"),
env!("OUT_DIR"),
"/prophet-wasmstan.wasm"
)))
.expect("embedded WASM image is invalid, this is a bug in augurs_prophet")
Expand Down

0 comments on commit 2bf1f2b

Please sign in to comment.