remote-test-server truncates auxiliary dylib filenames

オープン 初心者向け
#166,910 コメント 4 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

@shuvakant6623 がすでに取り組んでいます。

2026年12月2日 から。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
68/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
rust
領域
testing, tooling

調査の方向性

src/tools/remote-test-server/src/main.rsのリンク先の351~369行目から始め、実行ファイルと補助dylibのファイル名がどのように切り詰められるかを追ってください。test-armhf-gnuについて説明されている失敗を再現し、受信したdylibのファイル名がローダーでどのように使われるかを確認してください。補助dylibのファイル名が保持されてローダーがファイルを見つけられ、実行ファイルの処理も引き続き有効であれば完了です。

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

説明

A-cross A-test-infra A-testsuite C-bug T-bootstrap

we ran into a dylib loading failure on test-armhf-gnu in #164840

https://github.com/rust-lang/rust/pull/166615#issuecomment-7200726200

it looks like remote-test-server truncates filenames to 50 bytes while our auxiliary dylib filename is 52 bytes long

https://github.com/rust-lang/rust/blob/b8794ab3b96cbe1cd0698ecec35b7ffcedc9e995/src/tools/remote-test-server/src/main.rs#L351-L369

this is fine for executables but auxiliary dylibs are received through the same function and the loader ends up looking for a filename that no longer exists

discussion: https://github.com/rust-lang/rust/pull/164840#discussion_r4766399274

cc @Kobzol

主要言語
Rust
スター
123k
フォーク
16.6k
平均マージ
2日 17時間
マージ済み PR(30日)
515

環境構築

はじめの一歩

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

rust-lang/rust のほかの issue

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

似ている issue

Rust の issue をもっと見る

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

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