Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

32-bit ARM linux_raw backend has MSRV 1.82, instead of MSRV 1.63, due to use of asm_const #685

Copy link
Copy link
@briansmith

Description

@briansmith
Issue body actions

Building with the MSRV with the "linux_raw" backend enabled, like this:

$ rustup +1.63 target add armv7-unknown-linux-gnueabihf
$ RUSTFLAGS="--cfg getrandom_backend=\"linux_raw\"" cargo +1.63 check --target=armv7-unknown-linux-gnueabihf

results in an error:

error[E0658]: const operands for inline assembly are unstable
  --> src/backends/linux_raw.rs:29:17
   |
29 |                 nr = const __NR_getrandom,
   |                 ^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: see issue #93332 <https://github.com/rust-lang/rust/issues/93332> for more information

For more information about this error, try `rustc --explain E0658`.

asm_const wasn't stabilized until Rust 1.82 (see rust-lang/rust#128570).

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

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.