Skip to content

Use Rust to call C++ class member functions directly on Windows #57

@teor2345

Description

@teor2345

Windows has a special mangling scheme for C++ member function symbols on some architectures. Linkers and other programs handling export lists need to be aware of this convention.

More details of the mangling scheme are here:

The Rust compiler currently leaves these symbols in their mangled form:

Metadata

Metadata

Assignees

No one assigned

    Labels

    l-rustChanges that are mainly in Rustp-build-systemBuild system problems or examplest-use-caseA Rust/C++ interop usage example

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions