Skip to content

'Invalid codename string' panick #3

Description

@PuKoren

Hello all.

I'm trying to use the crate and I have some runtime error:

thread 'main' panicked at 'Invalid codename string', src/libcore/option.rs:699
note: Run with `RUST_BACKTRACE=1` for a backtrace.
fatal runtime error: failed to initiate panic, error 5
error: An unknown error occurred

I'm using the sample code from the Readme:

  match cpuid::identify() {
    Ok(info) => {
        println!("Benchmarking {} CPU, model: {}", info.vendor, info.codename);
    },
    Err(err) => println!("cpuid error: {}", err),
  };

Using OSX, compiled and installed libcpuid (otherwise the crate refused to compile), seems be ok on this side.

Will try again later on a GNU comp to see if related or not

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