Skip to content

[Rust][Build] Link the native C API across supported platforms #229

Description

@utilForever

Parent: #137

Goal

Make Cargo builds locate or build the C API without duplicating native source configuration.

Scope

  • Reuse CMake and the public C target
  • Support documented static or shared linking mode
  • Propagate actionable native build errors

Non-goals

  • A second native build system
  • Downloading unpublished binaries
  • Supporting arbitrary external C library versions

Acceptance criteria

  • Cargo builds the binding from a clean checkout on supported platforms.
  • Native configuration remains in CMake.
  • Link failures identify the missing target or dependency.

Verification

Build and link a minimal Rust binary on Ubuntu, macOS, and Windows CI jobs.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions