Skip to content

Move std::os::raw to libcore? #36193

Closed
Closed
@SimonSapin

Description

@SimonSapin

I’m currently playing "embedded" with hardware (ARM Cortex-M CPU with 64 KB RAM). I’m using #![no_std] (there’s no operating system) and FFI to use C and C++ device drivers.

For bindings I’d like to use std::os::raw::c_long and other types in that module. But this module is not available in libcore. Is there a reason for this? If not, I’ll submit a PR to move it (and of course re-export it at its current location).

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-enhancementCategory: An issue proposing an enhancement or a PR with one.T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions