Skip to content

[Docs Request] State Rust version requirements (1.63) explicitly #10

@koachan

Description

@koachan

Hello, I'm having errors when trying to build it on my machine, using Rust 1.62.1 on Gentoo.

error[E0658]: use of unstable library feature 'scoped_threads'
  --> src/main.rs:36:5
   |
36 |     std::thread::scope(|s| {
   |     ^^^^^^^^^^^^^^^^^^
   |
   = note: see issue #93203 <https://github.com/rust-lang/rust/issues/93203> for more information

error[E0658]: use of unstable library feature 'scoped_threads'
  --> src/main.rs:38:11
   |
38 |         s.spawn(|| {
   |           ^^^^^
   |
   = note: see issue #93203 <https://github.com/rust-lang/rust/issues/93203> for more information

error[E0658]: use of unstable library feature 'scoped_threads'
  --> src/main.rs:50:11
   |
50 |         s.spawn(|| {
   |           ^^^^^
   |
   = note: see issue #93203 <https://github.com/rust-lang/rust/issues/93203> for more information

error[E0658]: use of unstable library feature 'scoped_threads'
  --> src/main.rs:68:10
   |
68 |         .join()
   |          ^^^^
   |
   = note: see issue #93203 <https://github.com/rust-lang/rust/issues/93203> for more information

For more information about this error, try `rustc --explain E0658`.
error: could not compile `core-to-core-latency` due to 4 previous errors

Seems like it uses a feature that only starts becoming available in Rust 1.63, so I suppose this could be stated explicitly in the readme file?

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