Skip to content

std::sys_common::net assumes existence of libc #19

Open
@IsaacWoods

Description

@IsaacWoods

As far as I understand, the sys_common module is meant to be common to all platforms. However, sys_common::net assumes existence of a LibC, specifically for some of its types:

use libc::{c_int, c_void};

In my case, I have redefined these types within my sys implementation and just use those instead, but I thought I'd get discussion started on whether, moving forward, we're going to continue assuming every platform should have to provide a LibC, and whether we could eliminate these particular use-cases at any point?

Just for context, my goal here is to provide a libstd implementation for my OS that doesn't depend on a LibC at all.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions