Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

asm.rules.stack-below-sp is ambiguous

オープン
#2,053 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
25/100
issue の種類
ドキュメント
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
rust
領域
documentation

調査の方向性

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

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

rust-lang/reference のほかの issue

rust-lang/reference の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。