Skip to content

Conversation

@joncinque
Copy link
Collaborator

Problem

The docs builds are currently failing due to the changes in rust-lang/rust#138907.

Summary of changes

As recommended there, use doc_cfg instead of doc_auto_cfg.

#### Problem

The docs builds are currently failing due to the changes in
<rust-lang/rust#138907>.

#### Summary of changes

As recommended there, use `doc_cfg` instead of `doc_auto_cfg`.
@joncinque joncinque requested a review from febo October 29, 2025 19:25
@joncinque joncinque requested a review from a team as a code owner October 29, 2025 19:25
@github-actions
Copy link
Contributor

If this PR represents a change to the sysvar layout, please open a follow-up PR to update the JavaScript client @solana/sysvars (example)
Thank you for keeping the JavaScript clients in sync with the Rust clients.

joncinque added a commit to joncinque/solana-sdk that referenced this pull request Oct 29, 2025
#### Problem

This is the v3 version of anza-xyz#411.

#### Summary of changes

Same thing, replace `doc_auto_cfg` with `doc_cfg`.
@joncinque joncinque added the backport maintenance/v3.x Automatically creates a backport PR to `maintenance/v3.x` once the PR is closed label Oct 29, 2025
@joncinque joncinque merged commit f4fe78a into anza-xyz:master Oct 29, 2025
28 checks passed
@joncinque joncinque deleted the noautocfg branch October 29, 2025 23:15
@github-actions
Copy link
Contributor

The backport to maintenance/v3.x failed:

The process '/usr/bin/git' failed with exit code 1

To backport manually, run these commands in your terminal:

# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-maintenance/v3.x maintenance/v3.x
# Navigate to the new working tree
cd .worktrees/backport-maintenance/v3.x
# Create a new branch
git switch --create backport-411-to-maintenance/v3.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 f4fe78af33d081c509d6076f4fb202a0d3810bc4
# Push it to GitHub
git push --set-upstream origin backport-411-to-maintenance/v3.x
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-maintenance/v3.x

Then, create a pull request where the base branch is maintenance/v3.x and the compare/head branch is backport-411-to-maintenance/v3.x.

joncinque added a commit that referenced this pull request Oct 30, 2025
#### Problem

This is the v3 version of #411.

#### Summary of changes

Same thing, replace `doc_auto_cfg` with `doc_cfg`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport maintenance/v3.x Automatically creates a backport PR to `maintenance/v3.x` once the PR is closed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants