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

Redox OS Port: Refcell already borrowed

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

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

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

評価

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

調査の方向性

Redox で startup panic を再現し、src/tui.rs:773 と src/cell.rs の borrow 処理を調査してください。まず、問題が Redox 固有なのか、そこで使われている Rust コンパイラ固有なのかを切り分けます。最小限の reproducer、または原因の確認と焦点を絞った fix が得られれば完了です。

索引モデルが issue の本文から書いたものです。

説明

Hello! I tried to port edit into Redox, and it's compiling well! Interestingly, I got edit crashed at startup.

I look deeper and stumble upon cell.rs, I went to comment out all release scope in that and now it shown this:

thread 'main' (1) panicked at src/tui.rs:773:33:
Refcell already borrowed

Given the same code runs well on Linux I think this is a problem into rust compiler on Redox itself. But I unable to isolate the problem into a simple test.

The code crashed around src/tui.rs:773 and it crashed the first time it hit this code, and I also unable to work around it.

I would like either having a minimal reproducible code around it, or maybe some insight into this problem. I think actually trying to solve this will be hard (I don't know who borrows it?) and I understand the OS is not in your supported target at this time.

主要言語
Rust
スター
14.6k
フォーク
735
平均マージ
20時間 6分
マージ済み PR(30日)
6

環境構築

はじめの一歩

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

microsoft/edit のほかの issue

microsoft/edit の issue をすべて見る

似ている issue

Rust の issue をもっと見る

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

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