Skip to content

run-make: handle AIX symbol cdylib export test#157989

Merged
rust-bors[bot] merged 1 commit into
rust-lang:mainfrom
amy-kwan:amy-kwan/cdylib-test
Jun 17, 2026
Merged

run-make: handle AIX symbol cdylib export test#157989
rust-bors[bot] merged 1 commit into
rust-lang:mainfrom
amy-kwan:amy-kwan/cdylib-test

Conversation

@amy-kwan

Copy link
Copy Markdown
Contributor

The cdylib export-symbols test was checking for T my_function on all non-Darwin targets, but AIX prints the exported symbol as T .my_function.

This patch updates the test to account for the AIX behavior so the test validates the actual exported symbol correctly.

@rustbot rustbot added A-run-make Area: port run-make Makefiles to rmake.rs S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Jun 16, 2026
@rustbot

rustbot commented Jun 16, 2026

Copy link
Copy Markdown
Collaborator

r? @nnethercote

rustbot has assigned @nnethercote.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

Why was this reviewer chosen?

The reviewer was selected based on:

  • Owners of files modified in this PR: compiler
  • compiler expanded to 73 candidates
  • Random selection from 21 candidates

The cdylib export-symbols test was checking for `T my_function` on
all non-Darwin targets, but AIX prints the exported symbol as
`T .my_function`.

This patch updates the test to account for the AIX behavior so the test
validates the actual exported symbol correctly.
@nnethercote

Copy link
Copy Markdown
Contributor

@bors r+ rollup

@rust-bors

rust-bors Bot commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

📌 Commit 89b8090 has been approved by nnethercote

It is now in the queue for this repository.

@rust-bors rust-bors Bot added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jun 16, 2026
rust-bors Bot pushed a commit that referenced this pull request Jun 17, 2026
Rollup of 7 pull requests

Successful merges:

 - #157681 (Add instrument_fn attribute)
 - #149219 (Allow shortening lifetime in CoerceUnsized for &mut)
 - #157539 (Rename `RandomSource` -> `Rng`, `DefaultRandomSource` -> `SystemRng`)
 - #157980 (Some minor cleanups around hir ty/pat/expr)
 - #157988 (Fix incremental-finalize-fail proc macro test on AIX)
 - #157989 (run-make: handle AIX symbol cdylib export test)
 - #157998 (Add big disclaimer to the description of lint `explicit_outlives_requirements`)
@rust-bors rust-bors Bot merged commit fd96010 into rust-lang:main Jun 17, 2026
13 checks passed
@rustbot rustbot added this to the 1.98.0 milestone Jun 17, 2026
rust-timer added a commit that referenced this pull request Jun 17, 2026
Rollup merge of #157989 - amy-kwan:amy-kwan/cdylib-test, r=nnethercote

run-make: handle AIX symbol cdylib export test

The cdylib export-symbols test was checking for `T my_function` on all non-Darwin targets, but AIX prints the exported symbol as `T .my_function`.

This patch updates the test to account for the AIX behavior so the test validates the actual exported symbol correctly.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-run-make Area: port run-make Makefiles to rmake.rs S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants