Skip to content

Commit

Permalink
Merge pull request conjure-cp#245 from niklasdewally/fix/minion-debug…
Browse files Browse the repository at this point in the history
…-build-rs

minion_rs: rebuild when DEBUG_MINION changes
  • Loading branch information
ozgurakgun authored Feb 23, 2024
2 parents e711ffb + 3c77239 commit bc7a9be
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
6 changes: 6 additions & 0 deletions solvers/minion/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,9 @@ This crate is licensed under the [Mozilla Public Licence 2.0](https://www.mozill
## Debugging

Debug symbols for Minion can be enabled by setting the environment variable `DEBUG_MINION`.

Eg.

```shell
DEBUG_MINION=true cargo test
```
1 change: 1 addition & 0 deletions solvers/minion/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ fn main() {
println!("cargo:rerun-if-changed=vendor");
println!("cargo:rerun-if-changed=build.rs");
println!("cargo:rerun-if-changed=build.sh");
println!("cargo:rerun-if-env-changed=DEBUG_MINION");

build();

Expand Down
4 changes: 0 additions & 4 deletions solvers/minion/clean.sh

This file was deleted.

0 comments on commit bc7a9be

Please sign in to comment.