Skip to content

Commit

Permalink
core is always pinned to release
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxime Bedard committed Aug 16, 2021
1 parent 038c81a commit 302e50d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ cli: core
cd crates/cli && cargo build && cd -

check-benchmarks:
cd crates/benchmarks \
cd crates/benchmarks \
&& cargo check --benches --release \
&& cd -

Expand All @@ -15,9 +15,6 @@ core:
&& cd -

tests: check-benchmarks core
cd crates/cli \
&& cargo test \
&& cd -

fmt: fmt-quickjs-sys fmt-core fmt-cli

Expand Down
2 changes: 1 addition & 1 deletion crates/cli/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ fn copy_engine_binary() {
let mut engine_path = PathBuf::from(env::var("CARGO_MANIFEST_DIR").unwrap());
engine_path.pop();
engine_path.pop();
let engine_path = engine_path.join("target/wasm32-wasi/debug/javy_core.wasm");
let engine_path = engine_path.join("target/wasm32-wasi/release/javy_core.wasm");

println!("cargo:rerun-if-changed={:?}", engine_path);

Expand Down

0 comments on commit 302e50d

Please sign in to comment.