Skip to content

Nightly support for function overloading in FFI bindings #643

Description

@tomassedovic
Metadata
Point of contact @teor2345
Team(s) compiler, lang, libs-api, types
Goal document 2026/overloading-for-ffi

Summary

Design and implement a function overloading system that is suitable for FFI with languages that have overloading. In particular, we aim to make Rust more compatible with C++, so that Rust callers do not place a maintenance burden on C++ library owners due to overloading.

Tasks and status


Note: we have updated the body to match the 2026 goal. Your original text is preserved below.

Details

Metadata
Point of contact @teor2345
Team(s) compiler, lang, libs-api, types
Goal document 2026/overloading-for-ffi

Summary

Design and implement a function overloading system that is suitable for FFI with languages that have overloading. In particular, we aim to make Rust more compatible with C++, so that Rust callers do not place a maintenance burden on C++ library owners due to overloading.

Tasks and status

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions