asm.rules.stack-below-sp is ambiguous
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 25/100
- issue の種類
- ドキュメント
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- rust
調査の方向性
Issue でリンクされている Rust Reference の inline-assembly セクション、特に asm.rules.stack-below-sp という名前の規則から始め、その記述を、言及されている SPARC のスタック方向の挙動と比較してください。この規則がアドレスベースなのか論理的なものなのかを明確にし、該当する方向またはスタック領域を指定し、結果のテキストでどのスタック内容にアクセスできるかが説明されるようにしてください。
索引モデルが issue の本文から書いたものです。
説明
Stacks can grow in different directions and diagrams can be top-to-bottom or bottom-to-top.
Apparently the SPARC arch can select whether the stack grows up or down.
This section of the reference talks about stack space below the stack pointer, but because of different models of how stacks can work, it's not entirely clear what that means.
- If the text is meant 'by address', then the rule changes based on the arch
- If the text is meant logically, then it should probably say so. And it should still specify the direction.
Instead of up and down, maybe it should be specified in terms of 'used' vs 'potential' stack? Or 'active' and 'inactive'?
Or maybe describe the contents you're allowed to interact with. For example, are you allowed to read the stack frame of the caller of the current function?
The more I read the current text, the less I'm sure what it actually says.
- 主要言語
- Rust
- スター
- 1.6k
- フォーク
- 611
- 平均マージ
- 1日 3時間
- マージ済み PR(30日)
- 9
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
rust-lang/reference のほかの issue
-
A-const-eval A-undefined-behavior
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
rust-lang/reference#2266 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
A-resolve
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信
-
A-coercions
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
rust-lang/reference#2094 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
rust-lang/reference の issue をすべて見る
似ている issue
-
area::tern difficulty::easy good first issue kind::cleanup triage::ready
難易度 1/5 1〜3時間 初心者へのやさしさ 88/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
eclipse-zenoh/zenoh#2842 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
中文字符导致软件崩溃オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
Y-ASLant/ElegantClipboard#172 ·
-
bug documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
SaboLabs/soroban-devkit#341 ·
メンテナーはふだん 1 日以内に返信
-
agent:sonnet-high enhancement priority: P2 ready-for-agent
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
shep-pm/shep-kelpie#652 ·
メンテナーはふだん 1 日以内に返信