remote-test-server truncates auxiliary dylib filenames

Open Beginner friendly
#166,910 4 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

@shuvakant6623 is already working on this.

Since Dec 2, 2026.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
68/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
rust
Domain
testing, tooling

Research direction

Start in src/tools/remote-test-server/src/main.rs at the linked lines 351–369 and trace how filenames are truncated for executables and auxiliary dylibs. Reproduce the failure described for test-armhf-gnu and check how the received dylib filename is used by the loader. Done means auxiliary dylib filenames are preserved so the loader can find the file, while executable handling remains valid.

Written by the indexing model from the issue text.

Description

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

Dominant language
Rust
Stars
123k
Forks
16.6k
Avg merge
2d 17h
Merged PRs (30d)
515

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from rust-lang/rust

All issues in rust-lang/rust

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.