Make borrow-state tests portable to 32-bit targets
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 65/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 静か
- 技術スタック
- numpy, rust
- 領域
- testing-qa
調査の方向性
borrow-state テストから始め、プロセスグローバルな n_flags カウントに対するアサーションを見つけます。32 ビットターゲットで no-feature テストスイートを実行し、64 ビットターゲットと比較します。その際、配列カウントと安全性のチェックは維持してください。アーキテクチャ固有のレジストリ動作が原因で、正確なカウントチェックが失敗しなくなれば完了です。
索引モデルが issue の本文から書いたものです。
説明
The borrow-state tests assert exact values of the process-global borrow-flag count. On Debian i386, the no-feature test suite can observe an additional registered flag and fails with an assertion such as left: 2, right: 1, while the array-count and safety checks remain valid.
The exact n_flags assertions should either be made architecture-independent or limited to targets where the underlying registry behavior is deterministic. This was found while packaging rust-numpy 0.28.0 for Debian unstable.
A Debian-side patch currently gates the exact n_flags assertions to 64-bit targets while preserving the other borrow-state checks. The corresponding i386 build passes with that patch.
- 主要言語
- Rust
- スター
- 1.4k
- フォーク
- 141
- 平均マージ
- 16分
- マージ済み PR(30日)
- 3
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
PyO3/rust-numpy のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 58/100
PyO3/rust-numpy#563 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 56/100
PyO3/rust-numpy#557 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
PyO3/rust-numpy#547 · コメント 2 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 20/100
PyO3/rust-numpy#535 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
PyO3/rust-numpy#527 · コメント 1 件 ·
PyO3/rust-numpy の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
-
bug team:backend track:services-maintenance
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
cowprotocol/services#4950 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
gitbutlerapp/gitbutler#15998 · コメント 1 件 ·