-
Notifications
You must be signed in to change notification settings - Fork 21
Labels
kind::bugSomething isn't workingSomething isn't working
Description
Running Conjure Oxide in release mode (with --release) gives a RuleSetNotFound
error. This is not present if ran in debug mode.
Environment
This bug is present with the following setup:
- M1 MacOS
- Rust version 1.8.6
- Latest main branch of conjure oxide (at time of writing e0ad0d0)
Steps to Reproduce
This bug is present both in the tester and the executable:
Tester
- Run
ACCEPT=true cargo test --release
. All integration tests fail with the error messageError: RuleSetNotFound
. As ACCEPT=true is given, all tests should pass. - If
ACCEPT=true cargo test
is ran instead, all integration tests pass as expected.
Executable
-
Run
cargo run --release -- test-solve conjure_oxide/tests/integration/basic/pow/03-negative-exponent/input.eprime
. The executable exits with the errorError resolving rule sets: Rule set not found.
. The expected output isSuccess: solutions match!
. -
If ran without --release,
cargo run -- test-solve conjure_oxide/tests/integration/basic/pow/03-negative-exponent/input.eprime
returnsSuccess: solutions match!
Details
According to git bisect, this bug was introduced in commit 0539467.
Metadata
Metadata
Assignees
Labels
kind::bugSomething isn't workingSomething isn't working