Skip to content

Conversation

ehuss
Copy link
Contributor

@ehuss ehuss commented Sep 16, 2025

This attempts to make it clearer that if the ABI string is not specified, it defaults to the "C" ABI. I felt like the existing text didn't emphasize that enough.

I also took the opportunity to reword the intro to more generally explain what the ABI string does.

A followup PR will further clarify some of the confusing use of the word "default" in the specific ABI definitions.

This is implemented in ExternAbi::FALLBACK

@rustbot

This comment has been minimized.

This attempts to make it clearer that if the ABI string is not
specified, it defaults to the "C" ABI. I felt like the existing text
didn't emphasize that enough.

I also took the opportunity to reword the intro to more generally
explain what the ABI string does.

A followup PR will further clarify some of the confusing use of the word
"default" in the specific ABI definitions.
@rustbot
Copy link
Collaborator

rustbot commented Oct 7, 2025

This PR was rebased onto a different master commit. Here's a range-diff highlighting what actually changed.

Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers.

@traviscross traviscross force-pushed the extern-default branch 3 times, most recently from c265b9b to 88713f1 Compare October 7, 2025 21:04
Rather than using an `abbr` tag when mentioning ABI, let's add a
glossary entry for ABI and link to that.
@traviscross traviscross enabled auto-merge October 7, 2025 21:08
@traviscross traviscross added this pull request to the merge queue Oct 7, 2025
Merged via the queue into rust-lang:master with commit 02bf556 Oct 7, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants