Skip to content

libstd/sys/redox/os.rs: unused static variable #51419

Closed
@nodakai

Description

@nodakai

https://github.com/rust-lang/rust/blob/master/src/libstd/sys/redox/os.rs#L33

const TMPBUF_SZ: usize = 128;
static ENV_LOCK: Mutex = Mutex::new();

Could anybody confirm if they can safely be removed? It looks like they were copy-and-pasted from unix/os.rs but I'm not familiar with Redox.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-cleanupCategory: PRs that clean code up or issues documenting cleanup.O-redoxOperating system: Redox, https://www.redox-os.org/

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions