rust-lang / rust-lang/libc

ctest: Duplicate symbol errors for static tests

Open
#4,365 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

ctest
Dominant language
Rust
Stars
2.6k
Forks
1.3k
Avg merge
1d 22h
Merged PRs (30d)
69

Description

Something needs to be reworked here. This may be a ODR violation since they are defined in the header.

Look for FIXME(#4365) in the tests for relevant locations.

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

Search the tests for FIXME(#4365) and inspect the header-defined symbols involved in the static-test builds. Reproduce the duplicate-symbol errors, then determine the expected linkage and verify that the affected tests build without those errors.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.