rust-lang / rust-lang/rust

compiletest: `//@ aux-crate` seems to only actually work for dylibs

Open
#133,007 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

A-compiletest C-bug E-needs-investigation T-bootstrap
Dominant language
Rust
Stars
119k
Forks
16.1k
PR merge metrics
PR metrics pending

Description

... And it seems to never hit staticlibs or rlibs?

Contributor guide

Open the contributing guide

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.

Research direction

Start in the compiletest handling for the //@ aux-crate directive and reproduce the reported behavior with dylibs, staticlibs, and rlibs. Compare the existing test cases and build results for each library type; done means the directive behaves consistently across the supported library types and the behavior is covered by a regression test.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
compilers, testing
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.