Sometimes compilation fails with: arithmetic error DIVISION-BY-ZERO signalled
Open
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 1
- Forks
- 0
- Avg merge
- 18m
- Merged PRs (30d)
- 1
Description
Trying to compile this program fails on libquil-sys, but not using the rpcq server in some cases - see https://github.com/rigetti/qcs-sdk-rust/pull/404
DECLARE ro BIT
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing compilation of DECLARE ro BIT in libquil-sys, comparing cases that use the rpcq server with those that do not. Read the behavior and discussion in qcs-sdk-rust pull request 404, then trace the relevant compilation path; done means the program no longer fails with a DIVISION-BY-ZERO error in the affected cases.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- compilers
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100