Sometimes compilation fails with: arithmetic error DIVISION-BY-ZERO signalled

Open
#64 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
52/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
rust
Domain
compilers

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.

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
Dominant language
Rust
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Getting set up

  • Ships a Dockerfile or Docker Compose file
  • No pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from rigetti/libquil-sys

All issues in rigetti/libquil-sys

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.