Skip to content

Add support for RUSTC environment variable in libudev-sys/build.rs #18

@kaazoo

Description

@kaazoo

The command "rustc" is hardcoded here: https://github.com/dcuddeback/libudev-sys/blob/master/build.rs#L28

Please add support for the RUSTC environment variable (see https://doc.rust-lang.org/cargo/reference/environment-variables.html) which is used by cargo to point to an alternative rustc path.

Building packages with Rust 1.80 on Ubuntu 24.04 requires patching build.rs currently, as rustc lives under /usr/bin/rustc-1.80 .

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions